Remove debugging bonn layers
This commit is contained in:
parent
cd22818240
commit
c44fe26cdf
1 changed files with 0 additions and 19 deletions
|
|
@ -17,14 +17,6 @@ function onLoad() {
|
||||||
});
|
});
|
||||||
map.on("load", function() {
|
map.on("load", function() {
|
||||||
console.log("Map post-load...");
|
console.log("Map post-load...");
|
||||||
map.addSource('tegola-bonn', {
|
|
||||||
'type': 'vector',
|
|
||||||
'tiles': [
|
|
||||||
'https://{{.Config.URLTegola}}/maps/bonn/{z}/{x}/{y}'
|
|
||||||
]
|
|
||||||
//'minzoom': 6,
|
|
||||||
//'maxzoom': 14
|
|
||||||
});
|
|
||||||
map.addSource('tegola-nidus', {
|
map.addSource('tegola-nidus', {
|
||||||
'type': 'vector',
|
'type': 'vector',
|
||||||
'tiles': [
|
'tiles': [
|
||||||
|
|
@ -33,17 +25,6 @@ function onLoad() {
|
||||||
//'minzoom': 6,
|
//'minzoom': 6,
|
||||||
//'maxzoom': 14
|
//'maxzoom': 14
|
||||||
});
|
});
|
||||||
map.addLayer({
|
|
||||||
'id': 'bonn', // Layer ID
|
|
||||||
'type': 'fill',
|
|
||||||
'source': 'tegola-bonn', // ID of the tile source created above
|
|
||||||
'source-layer': 'lakes',
|
|
||||||
'paint': {
|
|
||||||
'fill-opacity': 0.1,
|
|
||||||
'fill-color': 'rgb(100, 50, 20)'
|
|
||||||
}
|
|
||||||
//slot: 'middle' // middle slot in Mapbox Standard style
|
|
||||||
});
|
|
||||||
map.addLayer({
|
map.addLayer({
|
||||||
'id': 'nidus', // Layer ID
|
'id': 'nidus', // Layer ID
|
||||||
'type': 'fill',
|
'type': 'fill',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue