Changed API to return geoJSON geometries and updated the map accordingly.