parent
25702fb1dd
commit
6335abf36c
1 changed files with 4 additions and 1 deletions
|
@ -77,6 +77,9 @@
|
|||
};
|
||||
{{/is_terrain}}
|
||||
{{#is_terrain}}
|
||||
|
||||
let baseUrl = window.location.origin;
|
||||
|
||||
var style = {
|
||||
version: 8,
|
||||
sources: {
|
||||
|
@ -92,7 +95,7 @@
|
|||
},
|
||||
"contour": {
|
||||
"type": "vector",
|
||||
"tiles": "{{public_url}}data/{{id}}/contour/{z}/{x}/{y}" ],
|
||||
"tiles": [ baseUrl + "/data/{{id}}/contour/{z}/{x}/{y}" ],
|
||||
}
|
||||
},
|
||||
"glyphs": "/fonts/{fontstack}/{range}.pbf",
|
||||
|
|
Loading…
Reference in a new issue