Last active
January 3, 2021 06:18
-
-
Save planemad/791167bb9902ed62a666f6eef9c4610f to your computer and use it in GitHub Desktop.
publicmap.github.io map config file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title":"Title of the map", | |
"description":"A description of the map view in a few sentences.", | |
"attribution":"<a href='#'>JSON Map config</a>", | |
"worldview":"US", | |
"center": [73.9064,18.5665], | |
"rotate": 180, | |
"styles":[ | |
{ | |
"label":"OpenStreetMap2", | |
"styleName":"OSM Mapnik", | |
"styleUrl":"https://cdn.jsdelivr.net/gh/osm-in/mapbox-gl-styles@latest/osm-mapnik.json" | |
}, | |
{ | |
"label":"Satellite", | |
"styleName":"Mapbox Satellite", | |
"styleUrl":"mapbox://styles/mapbox/satellite-streets-v11" | |
} | |
], | |
"source":{ | |
"tms": "https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/MODIS_Terra_Aerosol/default/2014-04-09/GoogleMapsCompatible_Level6/{z}/{x}/{y}.png", | |
"wms":"https://img.nj.gov/imagerywms/Natural2015?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&transparent=true&width=256&height=256&layers=Natural2015" | |
}, | |
"camera":{ | |
"rotate":true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment