diff options
Diffstat (limited to 'chimere/static')
| -rw-r--r-- | chimere/static/chimere/js/jquery.chimere.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js index 4275eb1..8ab08ef 100644 --- a/chimere/static/chimere/js/jquery.chimere.js +++ b/chimere/static/chimere/js/jquery.chimere.js @@ -268,15 +268,9 @@ function transform(obj) { if (defaults.map_layers == null || ! defaults.map_layers.length){ defaults.map_layers = [ new ol.layer.Tile({ - style: 'Road', - name: 'Road', - source: new ol.source.MapQuest({layer: 'osm'}) - }), - new ol.layer.Tile({ - style: 'Aerial', - name: 'Aerial', - visible: false, - source: new ol.source.MapQuest({layer: 'sat'}) + style: 'OSM', + name: 'OSM', + source: new ol.source.OSM() })]; } settings = $.extend({}, defaults); @@ -482,7 +476,7 @@ function transform(obj) { settings.popup_item = document.getElementById('popup'); settings.popup = new ol.Overlay({ element: settings.popup_item, - positioning: ol.OverlayPositioning.BOTTOM_LEFT, + positioning: 'bottom-left', stopEvent: false/*, autoPan: true, autoPanAnimation: { |
