Skip to content

OSM: Two Neighborhoods

Load Battery Park City and the Financial District as separate sources and show each in its own map.

Live Playground

OpenStreetMap data

This spec reads a pre-downloaded OpenStreetMap extract through pbfFileUrl, so it loads in seconds. Remove pbfFileUrl to query the Overpass API live instead, which can take several minutes because Overpass is rate-limited.

Highlights

  • two osm sources with different outputTableNames
  • one map per source

This example comes from the autk-grammar repository.

Released under the MIT License.