Overlay stopEvent and insertFirst default to true
This commit is contained in:
@@ -39,7 +39,8 @@ geolocation.on('change', function() {
|
||||
|
||||
var marker = new ol.Overlay({
|
||||
element: /** @type {Element} */ ($('<i/>').addClass('icon-flag').get(0)),
|
||||
positioning: ol.OverlayPositioning.BOTTOM_LEFT
|
||||
positioning: ol.OverlayPositioning.BOTTOM_LEFT,
|
||||
stopEvent: false
|
||||
});
|
||||
map.addOverlay(marker);
|
||||
// bind the marker position to the device location.
|
||||
|
||||
Reference in New Issue
Block a user