aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/MapView.js15
1 files changed, 11 insertions, 4 deletions
diff --git a/web/MapView.js b/web/MapView.js
index 6e9ca0325..33e0b348a 100644
--- a/web/MapView.js
+++ b/web/MapView.js
@@ -24,14 +24,21 @@ Ext.define('MapView', {
listeners: {
afterrender: function() {
- /*var layer = new ol.layer.Tile({ source: new ol.source.BingMaps({
- key: 'AseEs0DLJhLlTNoxbNXu7DGsnnH4UoWuGue7-irwKkE3fffaClwc9q_Mr6AyHY8F',
+ var bindKey = 'AseEs0DLJhLlTNoxbNXu7DGsnnH4UoWuGue7-irwKkE3fffaClwc9q_Mr6AyHY8F';
+
+ var layer = new ol.layer.Tile({ source: new ol.source.BingMaps({
+ key: bindKey,
imagerySet: 'Road'
- })});*/
+ })});
- var layer = new ol.layer.Tile({ source: new ol.source.OSM({
+ /*var layer = new ol.layer.Tile({ source: new ol.source.BingMaps({
+ key: bindKey,
+ imagerySet: 'Aerial'
})});
+ var layer = new ol.layer.Tile({ source: new ol.source.OSM({
+ })});*/
+
var view = new ol.View({
center: ol.proj.transform(Styles.map_center, 'EPSG:4326', 'EPSG:3857'),
zoom: Styles.map_zoom,