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

@@ -31,6 +31,7 @@ closer.onclick = function() {
*/
var overlay = new ol.Overlay(/** @type {olx.OverlayOptions} */ ({
element: container,
autoPan: true,
autoPanAnimation: {
duration: 250
}