chore: do not consume style query string now that we handle keys separatly
This commit is contained in:
parent
f09e399b3c
commit
7943c61b3e
1 changed files with 0 additions and 10 deletions
|
@ -276,16 +276,6 @@ L.U.Map.include({
|
||||||
}
|
}
|
||||||
this._default_extent = true
|
this._default_extent = true
|
||||||
this.options.name = L._('Untitled map')
|
this.options.name = L._('Untitled map')
|
||||||
let style = L.Util.queryString('style', null)
|
|
||||||
if (style) {
|
|
||||||
style = decodeURIComponent(style)
|
|
||||||
try {
|
|
||||||
style = JSON.parse(style)
|
|
||||||
L.Util.setOptions(this, style)
|
|
||||||
} catch (error) {
|
|
||||||
console.error(error)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
let data = L.Util.queryString('data', null)
|
let data = L.Util.queryString('data', null)
|
||||||
let dataUrl = L.Util.queryString('dataUrl', null)
|
let dataUrl = L.Util.queryString('dataUrl', null)
|
||||||
const dataFormat = L.Util.queryString('dataFormat', 'geojson')
|
const dataFormat = L.Util.queryString('dataFormat', 'geojson')
|
||||||
|
|
Loading…
Reference in a new issue