diff options
Diffstat (limited to 'web/js/map-google-ol.js')
-rw-r--r-- | web/js/map-google-ol.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/map-google-ol.js b/web/js/map-google-ol.js index 7369a8e9f..99670d4f2 100644 --- a/web/js/map-google-ol.js +++ b/web/js/map-google-ol.js @@ -10,6 +10,7 @@ $(function(){ fixmystreet.map.setBaseLayer(fixmystreet.map.layers[1]); } }); + // jshint undef:false if (typeof fixmystreet_google_default !== 'undefined' && fixmystreet_google_default == 'satellite') { $('#map_layer_toggle').click(); } @@ -36,7 +37,9 @@ fixmystreet.maps.config = function() { var road_layer = {}; // Empty object defaults to standard road layer function apply_map_styles() { + // jshint undef:false var styledMapType = new google.maps.StyledMapType(fixmystreet_google_maps_custom_style); + // jshint undef:true this.mapObject.mapTypes.set('styled', styledMapType); this.mapObject.setMapTypeId('styled'); } |