Closed StefanBrand closed 7 years ago
Multiple layer selection URI will look similar to https://newluck77.github.io/fprsmap/?l=tmobile,repair
. Keys (l
in this case) should not be duplicated.
The problem I'm facing is that I cannot use the location object's property and pass it to the initMap(defaultlayer) function as an object identifier.
@Roboe Try it out (add for example ?l=shops
to the URL)! Works great! :D
PS.: Downside is, that also ?shopsmeetupsangels
would work... ;)
For each layer specify a URL suffix that can be used to have layers ( #5 ) open by default. Something along the lines of
https://newluck77.github.io/fprsmap/?l=tmobile
orhttps://newluck77.github.io/fprsmap/?l=tmobile&l=repair
.