Make sure unused layers are hidden
authorTom Hughes <tom@compton.nu>
Sat, 21 May 2011 09:44:52 +0000 (10:44 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 21 May 2011 09:44:52 +0000 (10:44 +0100)
commitd9a8695fb18319ccc32fb97c9534707ce1df82be
tree89190df3d2019ecd8905979810d798a0ef9e040b
parent254fc8ebbcd46bc818ff065785ebd2bf7be59a26
Make sure unused layers are hidden

When parsing an old style layer configuration string, make sure any
layer which isn't active is marked as invisible so that we don't
include it when generating permalinks. Fixes #3773.
public/javascripts/map.js