Don't change the visibility of layers with no code
authorTom Hughes <tom@compton.nu>
Wed, 21 Jul 2010 08:07:38 +0000 (09:07 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 21 Jul 2010 08:07:38 +0000 (09:07 +0100)
commitad116b243127bc37ea51d765c577de050b5ad33a
tree2f40c8f870232835460eb76c0dfc91e0756489a7
parent53b0ace4c0577385af71394f03e2f4e2fb810f77
Don't change the visibility of layers with no code

When parsing a layer state ignore any layers with no code
attached rather than turning them off - this ensures that
the marker layer remains enabled and any markers can be
displayed.
public/javascripts/map.js