aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-streetview.js
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-08-26 13:43:10 +0200
committerMarius Halden <marius.h@lden.org>2015-08-26 13:43:10 +0200
commitcc0acdd34052e79f3df368ac1f524de31df19a1b (patch)
tree505f561b5f16c5b78f07514e8c2b2bdc18fef51d /web/js/map-streetview.js
parent1c5c685d0b0904e7ddc6e764e58e8fae08632d1d (diff)
parent6b84622fb7d58531baa7943abdcc7620999c34ee (diff)
Merge tag 'v1.6.1' into fiksgatami-dev
Diffstat (limited to 'web/js/map-streetview.js')
-rw-r--r--web/js/map-streetview.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/js/map-streetview.js b/web/js/map-streetview.js
index b81438a88..58d856781 100644
--- a/web/js/map-streetview.js
+++ b/web/js/map-streetview.js
@@ -1,7 +1,6 @@
function set_map_config(perm) {
fixmystreet.controls = [
new OpenLayers.Control.ArgParser(),
- //new OpenLayers.Control.LayerSwitcher(),
new OpenLayers.Control.Navigation(),
new OpenLayers.Control.Permalink(),
new OpenLayers.Control.PanZoomFMS()
@@ -38,8 +37,7 @@ OpenLayers.Layer.StreetView = OpenLayers.Class(OpenLayers.Layer.XYZ, {
/* Below line added to OSM's file in order to allow minimum zoom level */
maxResolution: 156543.03390625/Math.pow(2, options.zoomOffset || 0),
numZoomLevels: 19,
- sphericalMercator: true,
- attribution: "Contains Ordnance Survey data © Crown copyright and database right 2012"
+ sphericalMercator: true
}, options);
var newArguments = [name, url, options];
OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArguments);