Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 102658
4 votes
Accepted

In OpenLayers how can I enable users to cancel the completion of a polygon, and carry on dra...

finishCondition: function(event) { return confirm("Are you sure?"); } works for me.
Mike's user avatar
  • 12.9k
0 votes

Delete feature draw selected does not update map

Loops using live arrays or collections often cause problems, for example for (var i=0, f; f=features.item(i); i++) { vector_layer.getSource().removeFeature(f); } if you remove a featu …
Mike's user avatar
  • 12.9k