Overlay stopEvent and insertFirst default to true

This commit is contained in:
Éric Lemoine
2013-10-30 09:49:38 +01:00
parent d7c696fc76
commit 16b817b830
6 changed files with 18 additions and 20 deletions

View File

@@ -31,9 +31,7 @@ closer.onclick = function() {
* Create an overlay to anchor the popup to the map.
*/
var overlay = new ol.Overlay({
element: container,
stopEvent: true,
insertFirst: true
element: container
});