This repository was archived by the owner on Sep 2, 2024. It is now read-only.

Description
Custom layers is an awesome feature, but currently it supports only sources that are returning {z}/{y}/{x}.png. There are some servers that return {z}/{y}/{x}.pbf.
It seems that .pbf is just a wrapper over .osm that serializes it as protobuf as described here.
Do I understand correctly that what needs to be done is:
- deserialize
pbf to osm
- render
osm as png
How hard it could be? Is any of these features supported by leaflet? If not - are you fine with bringing in yet another dependency?