Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 529 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 529 Bytes

osm-pbf-leaflet

Leaflet layer for parsing and displaying OpenStreetMap PBF (.osm.pbf)

NOTE: currently unmaintained and not tested with Leaflet versions >= 1.0.

An alternative is osmtogeojson that should also support OSM PBF format (through tiny-osmpbf).

Also note that loading raw OSM PBF data (.osm.pbf) is a special use case, usually you want Mapbox Vector Tiles (.mvt), see https://leafletjs.com/plugins.html#vector-tiles.