Search places within geometry

Search for places within the area of a location

View on GitHub
SDK 1.0.0-rc.7

Covent Garden’s boundary is traced on the map, and every parking and charging pin inside it came back from a search run against that exact shape.

  • geocodeOne names the area and geometryData fetches its administrative polygon, so the shape is the map data’s, not one you digitise.
  • discoverPlaces accepts that polygon under geometries, making “inside this area” part of the question instead of a filter over answers.
  • GeometriesModule.show and PlacesModule.show take the two responses unchanged, since both are GeoJSON already.

Related examples