renames: master > main

This commit is contained in:
Brandon Liu
2023-05-10 20:28:21 +08:00
parent 1b277a951f
commit efb2f8c14c
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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