Show your own GeoJSON as places

Fetch a council's listed buildings as GeoJSON and pin each one, named, on the map

View on GitHub
SDK 1.0.0

A GeoJSON file from a council open-data portal turns into named pins across Halifax, styled like the base map’s own points of interest.

  • PlacesModule.show takes the fetched collection exactly as it takes a service response, so your data needs no conversion.
  • icon maps every building to one category icon, and label reads the title from your own Name property.
  • PlacesModule.create<ListedBuilding> types the module with your properties, so those callbacks are checked against your data.

Related examples