Congratulations Callum upon passing your DVSA practical test with BJM School of Motoring Bradford’s first choice of driving for excellence. translations['openlayer'] = "open layer"; translations['openlayerAtStartup'] = "open layer at startup"; translations['generateLink'] = "link to this map with opened layers"; translations['shortDescription'] = "short description"; translations['generatedShortCode'] = "to get a text control link paste this code in your wordpress editor"; translations['closeLayer'] = "close layer"; translations['cantGenerateLink'] = "put this string in the existing map short code to control this map"; vectorM['map_ol3js_1'] = []; var attribution = new ol.control.Attribution({ collapsible: false }); var raster = new ol.layer.Tile({ source: new ol.source.OSM({ }), zIndex: 90 }); var raster = new ol.layer.Tile({ source: new ol.source.OSM() }); var Controls = ol.control.defaults({ attribution: false }).extend([ attribution ]); map_ol3js_1 = new ol.Map({ controls: Controls, interactions: ol.interaction.defaults({mouseWheelZoom:false}), layers: [raster], target: "map_ol3js_1", view: new ol.View({ center: ol.proj.transform([-1.7594,53.7960], "EPSG:4326", "EPSG:3857"), zoom: 10 }) }); var osm_controls = [ new ol.control.Attribution(), new ol.control.MousePosition({ undefinedHTML: "outside", projection: "EPSG:4326", coordinateFormat: function(coordinate) { return ol.coordinate.format(coordinate, "{y}, {x}", 5); } }), new ol.control.OverviewMap({ collapsed: false }), new ol.control.Rotate({ autoHide: false }), new ol.control.ScaleLine(), new ol.control.Zoom(), new ol.control.ZoomSlider(), new ol.control.ZoomToExtent({ extent: [-11243808.051695308, 1.202710291, 9561377.290892059, 6852382.107835932] }), new ol.control.FullScreen() ]; osm_addPopupClickhandler(map_ol3js_1, "map_ol3js_1"); osm_addMouseHover(map_ol3js_1);