Only add the data layer to the main map, and use the visibility changed
authorTom Hughes <tom@compton.nu>
Sun, 11 May 2008 14:41:11 +0000 (14:41 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 11 May 2008 14:41:11 +0000 (14:41 +0000)
commit4d8ea0eed0d47b3547f222fbc47524328bbd23a7
tree36c7deac70a7d27c34d1fa496fbc3a8f2d136db0
parent5620d7263a36fe842f4d97bc21dda5edd0651b37
Only add the data layer to the main map, and use the visibility changed
event to handle turning the data layer on and off.
app/views/site/index.rhtml
public/javascripts/map.js
public/openlayers/OpenStreetMap.js