Files
PMTiles/js/CHANGELOG.md
2022-02-18 11:36:45 +08:00

364 B

1.0.0

  • Breaking change, introducing new TypeScript module with more clearly defined interfaces.
  • Leaflet plugin API changed:
	const p = new pmtiles.PMTiles('example.pmtiles')
	pmtiles.leafletLayer(p).addTo(map)
  • MapLibre protocol API changed:
	let cache = new pmtiles.ProtocolCache();
  maplibregl.addProtocol("pmtiles",cache.protocol);