Skip to content

Commit f29eb98

Browse files
author
Arun Ganesh
authored
Create osm-mapnik.json
1 parent 04e4b78 commit f29eb98

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

osm-mapnik.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": 8,
3+
"name": "OpenStreetMap Mapnik raster tiles (Default)",
4+
"metadata": {
5+
"mapbox:autocomposite": true
6+
},
7+
"glyphs": "https://cdn.jsdelivr.net/gh/lukasmartinelli-alt/glfonts@gh-pages/fonts/{fontstack}/{range}.pbf",
8+
"sources": {
9+
"osm-mapnik": {
10+
"type": "raster",
11+
"tiles": [
12+
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png"
13+
],
14+
"tileSize": 256,
15+
"attribution": "Basemap data <a href='https://www.osm.org' target=_blank>© OpenStreetMap contributors</a>"
16+
}
17+
},
18+
"layers": [{
19+
"id": "background",
20+
"type": "background",
21+
"paint": {
22+
"background-color": "rgba(0,0,0,0)"
23+
}
24+
},
25+
{
26+
"id": "osm-mapnik",
27+
"type": "raster",
28+
"source": "osm-mapnik"
29+
}
30+
],
31+
"owner": "OpenStreetMap India"
32+
}

0 commit comments

Comments
 (0)