Last active
April 20, 2025 13:17
-
-
Save Vonter/c37f51e173f90022736e007ce3b3276a to your computer and use it in GitHub Desktop.
amche-layer-config.js
This file contains hidden or 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
| let layersConfig = [ | |
| { | |
| id: 'streetmap', | |
| title: 'Street Map रस्त्याचो नकासो', | |
| description: 'Detailed street map sourced from <a href="https://www.openstreetmap.org/#map=11/15.4054/73.9280" target="_blank">OpenStreetMap contributors</a> and other data sources via <a href="https://docs.mapbox.com/data/tilesets/reference/mapbox-streets-v8/" target="_blank">Mapbox Streets</a> vector tiles.', | |
| type: 'style', | |
| headerImage: 'assets/map-layer-streetmap.png', | |
| initiallyChecked: true, | |
| layers: [ | |
| { title: 'Places', sourceLayer: 'place_label' }, | |
| { title: 'Landmarks', sourceLayer: 'poi_label' }, | |
| { title: 'Buildings', sourceLayer: 'building' }, | |
| { title: 'Structures', sourceLayer: 'structure' }, | |
| { title: 'Roads', sourceLayer: 'road' }, | |
| { title: 'Hillshading', sourceLayer: 'hillshade' }, | |
| { title: 'Landcover', sourceLayer: 'landcover' }, | |
| { title: 'Landuse', sourceLayer: 'landuse' }, | |
| { title: 'Wetlands & National Parks', sourceLayer: 'landuse_overlay' }, | |
| { title: 'Waterways', sourceLayer: 'waterway' }, | |
| { title: 'Waterbodies', sourceLayer: 'water' }, | |
| ] | |
| }, | |
| { | |
| title: 'Bengaluru Masterplan', | |
| description: 'The proposed landuse maps of the <a href="https://bdabangalore.org/uploads/files/TPM_Documents/BangaloreMasterPlan2015_VisionDocument.pdf">Revised Master Plan 2015 of Bengaluru</a> prepared by <a href="https://eng.bdabangalore.org/town-planning-section.html">Bangalore Development Authority (BDA)</a>. See <a href="https://eng.bdabangalore.org/uploads/files/EODB/Additional%20document/Zonal%20Regulation%202007.pdf">zoning and landuse regulations</a> for more information', | |
| headerImage: 'assets/map-layer-community-maps.png', | |
| type: 'tms', | |
| id: 'bda-masterplan', | |
| url: 'https://mapwarper.net/mosaics/tile/2147/{z}/{x}/{y}.png', | |
| attribution: '<a href="https://bdabangalore.org/ಪರಿಷ್ಕೃತ-ಮಹಾಯೋಜನೆ-2015.html">Bengaluru RMP 2015 PLU</a> georeferenced via <a href="https://mapwarper.net/layers/2147">Mapwarper</a>' | |
| }, | |
| { | |
| id: 'satellite', | |
| title: 'Satellite Imagery', | |
| description: 'Satellite Imagery', | |
| headerImage: 'assets/map-layer-terrain.png', | |
| type: 'tms', | |
| url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{x}/{y}.png', | |
| attribution: '© ESRI' | |
| }, | |
| { | |
| title: 'SOI Toposheets', | |
| description: 'Survey of India', | |
| headerImage: 'assets/map-layer-soi.png', | |
| legendImage: 'assets/map-layer-soi-legend.png', | |
| type: 'tms', | |
| id: 'goa-soi-map', | |
| url: 'https://indianopenmaps.fly.dev/soi/osm/{z}/{x}/{y}.webp', | |
| attribution: '<a href="https://onlinemaps.surveyofindia.gov.in/FreeMapSpecification.aspx">Open Series Toposheets from Survey of India</a>', | |
| }, | |
| { | |
| id: 'osm', | |
| title: 'OpenStreetMap', | |
| description: 'OpenStreetMap Data', | |
| headerImage: 'assets/map-layer-osm.png', | |
| type: 'tms', | |
| url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', | |
| description: 'Map data contributed by the <a href="https://www.openstreetmap.in/">OpenStreetMap India Community.', | |
| attribution: '© OpenStreetMap contributors' | |
| } | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment