code: function parseGeometry (geometry) {
    try {
      const parsed = geometry ? arcgisToGeoJSON(geometry) : null
      if (parsed && parsed.type && parsed.coordinates) return parsed
      else {
        return null
      }
    } catch (e) {
      console.error(e)
      return null
    }
  }
docs: Convert an esri geometry to a geojson geometry
  
  @param {object} geometry - an esri geometry object
  @return {object} geojson geometry
  @private