Don't try and parse an empty string as a layer config, and cope a bit
authorTom Hughes <tom@compton.nu>
Mon, 2 Jun 2008 12:45:24 +0000 (12:45 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 2 Jun 2008 12:45:24 +0000 (12:45 +0000)
commitc25a20ff133d0ff9c865ac2cbc0076544cb4f16b
tree265a3cae87053861ce8c3812c26052fab6ded4ed
parent48000eb09ad072e83789c1efb002c259222ae91a
Don't try and parse an empty string as a layer config, and cope a bit
better if we do hit the end of the string. Closes #942.
app/views/site/index.rhtml
public/javascripts/map.js