gis - Using mapbox, how can I add a borders layer over the top of the satellite image layer? -


essentially reproduce open gl example map - https://www.mapbox.com/mapbox-gl-js/example/satellite-map/ able use mapbox.js api add customer markers , clustering.

the streets map has information, don't know how border line , country/state name layers added onto satellite map.

you'll have edit mapbox-gl style file referencing: https://www.mapbox.com/mapbox-gl-styles/styles/satellite-v7.json.

all available layer styles listed under "layers":[...], e.g.

{   ...   "layers": [{     "id": "background",     "type": "background",     "paint.labels": {       "background-color": "rgb(4,7,14)"     }   }, {     "id": "satellite",     "type": "raster",     "source": "satellite",     ...   }] } 

so, if you're looking keep borders , country , state labels, find objects ids represent these layers, "province_border", "country_border", "country_label", , "state_label", , delete every other layer object.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -