mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
renames: master > main
This commit is contained in:
@@ -42,13 +42,13 @@ See the [go-pmtiles](https://github.com/protomaps/go-pmtiles) repository.
|
||||
|
||||
### Python
|
||||
|
||||
See https://github.com/protomaps/PMTiles/tree/master/python/bin for library usage
|
||||
See https://github.com/protomaps/PMTiles/tree/main/python/bin for library usage
|
||||
|
||||
### Serverless
|
||||
|
||||
[PMTiles on AWS Lambda](https://github.com/protomaps/PMTiles/tree/master/serverless/aws)
|
||||
[PMTiles on AWS Lambda](https://github.com/protomaps/PMTiles/tree/main/serverless/aws)
|
||||
|
||||
[PMTiles on Cloudflare Workers](https://github.com/protomaps/PMTiles/tree/master/serverless/cloudflare)
|
||||
[PMTiles on Cloudflare Workers](https://github.com/protomaps/PMTiles/tree/main/serverless/cloudflare)
|
||||
|
||||
## Specification
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ const p = new pmtiles.PMTiles('example.pmtiles')
|
||||
pmtiles.leafletRasterLayer(p,{attribution:'© <a href="https://openstreetmap.org">OpenStreetMap</a>'}).addTo(map)
|
||||
````
|
||||
|
||||
[Live example](https://protomaps.github.io/PMTiles/examples/leaflet.html) | [Code](https://github.com/protomaps/PMTiles/blob/master/js/examples/leaflet.html)
|
||||
[Live example](https://protomaps.github.io/PMTiles/examples/leaflet.html) | [Code](https://github.com/protomaps/PMTiles/blob/main/js/examples/leaflet.html)
|
||||
|
||||
### Leaflet: Vector tileset
|
||||
|
||||
@@ -44,7 +44,7 @@ var style = {
|
||||
...
|
||||
```
|
||||
|
||||
[Live example](https://protomaps.github.io/PMTiles/examples/maplibre.html) | [Code](https://github.com/protomaps/PMTiles/blob/master/js/examples/maplibre.html)
|
||||
[Live example](https://protomaps.github.io/PMTiles/examples/maplibre.html) | [Code](https://github.com/protomaps/PMTiles/blob/main/js/examples/maplibre.html)
|
||||
|
||||
# CORS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user