Layer Opacity
Combine OpenStreetMap layers for Manhattan with a semi-transparent GeoJSON layer of neighborhood boundaries on top.
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
- OSM and GeoJSON sources in one spec
- per-layer
opacity
This example comes from the autk-grammar repository.