diff options
Diffstat (limited to 'web/js')
-rw-r--r-- | web/js/map-bing-ol.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/web/js/map-bing-ol.js b/web/js/map-bing-ol.js index bbaf22940..a329c4235 100644 --- a/web/js/map-bing-ol.js +++ b/web/js/map-bing-ol.js @@ -14,15 +14,10 @@ fixmystreet.maps.config = function() { (function() { $(function(){ - $('#map_layer_toggle').toggle(function(){ - $(this).text('Roads'); - fixmystreet.map.setBaseLayer(fixmystreet.map.layers[1]); - }, function(){ - $(this).text('Aerial'); - fixmystreet.map.setBaseLayer(fixmystreet.map.layers[0]); + $(this).text(translation_strings.map_roads); + $(this).text(translation_strings.map_aerial); }); }); - })(); OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, { |