Adjust event propagation for popup example
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ closer.onclick = function() {
|
|||||||
* Create an overlay to anchor the popup to the map.
|
* Create an overlay to anchor the popup to the map.
|
||||||
*/
|
*/
|
||||||
var overlay = new ol.Overlay({
|
var overlay = new ol.Overlay({
|
||||||
element: container
|
element: container,
|
||||||
|
stopEvent: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user