Make ol.Overlay autoPan default to false

This commit is contained in:
Éric Lemoine
2015-02-24 15:14:10 +01:00
parent 7a5ad336c6
commit 329edc4ec6
5 changed files with 6 additions and 8 deletions

View File

@@ -36,8 +36,7 @@ var nameElement = document.getElementById('country-name');
var infoOverlay = new ol.Overlay({
element: infoElement,
offset: [15, 15],
stopEvent: false,
autoPan: false
stopEvent: false
});
map.addOverlay(infoOverlay);