Examples for Use Case: Display routes/paths or regions

These examples show the boundary of the parish of Glooston, Leicestershire, UK. The boundary is defined as a GeoJSON object in the file /examples/data/glooston.js. This was exported from OpenStreetMap data.

Jump to section…

Google Maps embed

Not applicable

OpenStreetMap embed

Not applicable

Bing Maps embed

Not applicable

MapBox Studio embed

Not applicable

Leaflet.js (with OpenStreetMap tiles)

OpenLayers with OpenStreetMap tiles

Google Maps API

Bing Maps Control API

MapKit JS (Apple Maps) API

Mapbox GL JS API

TomTom Maps SDK for Web with vector maps

D3 Geographies APIs