Use a custom OpenLayers theme
authorTom Hughes <tom@compton.nu>
Wed, 1 Aug 2012 20:40:40 +0000 (21:40 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 2 Aug 2012 18:15:12 +0000 (19:15 +0100)
commit2a11b9682c74c2440b80d40d379bc9861afd2f0f
tree7c0930b22405321c97e4effed469fc5552892733
parenta357bab334d562ee15cc707947a5ee5962415591
Use a custom OpenLayers theme

Instead of having a customised copy of the default theme in the
app assets, use a custom theme that pulls in the default one and
then overrides things as needed.
app/assets/javascripts/map.js.erb
app/assets/openlayers/theme/default/style.css.scss [deleted file]
app/assets/openlayers/theme/openstreetmap/SimpleLayerSwitcher.css.scss [moved from app/assets/openlayers/theme/default/SimpleLayerSwitcher.css.scss with 91% similarity]
app/assets/openlayers/theme/openstreetmap/img/carat.png [moved from app/assets/openlayers/theme/default/img/carat.png with 100% similarity]
app/assets/openlayers/theme/openstreetmap/img/missing-tile.png [moved from app/assets/openlayers/theme/default/img/missing-tile.png with 100% similarity]
app/assets/openlayers/theme/openstreetmap/style.css.scss [new file with mode: 0644]