Tim Schaub
47d37fabea
Rename ol.View2D to ol.View
2014-06-27 09:59:39 -04:00
tsauerwein
d0e818e8ce
Add condition to draw interaction
2014-06-06 15:54:38 +02:00
Bart van den Eijnden
945f5008f5
Ability to specify geometryName on ol.interaction.Draw
2014-05-14 08:35:27 +02:00
Éric Lemoine
baca25ed95
Fix bug at modify interaction construction time
...
This fixes a bug that occurs when the modify interaction is configured with a non-empty collection of features.
2014-04-10 11:00:00 +02:00
Tim Schaub
5653d57712
Change default renderer to Canvas
2014-04-02 11:43:20 -06:00
ahocevar
f5f2dae300
Updating tests for Draw interaction
2014-03-14 10:16:26 +01:00
Tim Schaub
333e4a9625
Rename getAllFeatures to getFeatures
2014-03-05 12:29:24 -07:00
Tom Payne
710d0c1bd8
Handle asynchronous rendering in tests
2014-02-20 19:44:29 +01:00
oterral
b2819a2332
Add some tests for drawing polygons
2014-01-22 09:59:04 +01:00
Tom Payne
8e372f8db0
Don't automatically orient rings in ol.geom.MultiPolygon
2014-01-21 16:11:52 +01:00
Tom Payne
ff73f080b3
Don't automatically orient rings in ol.geom.Polygon
2014-01-21 16:07:26 +01:00
Éric Lemoine
9d6d0e03c2
Configure draw interaction with a vector source
2014-01-20 16:09:48 +01:00
oterral
049ceb2ada
Add tests for draw interaction events
2014-01-14 17:38:11 +01:00
oterral
80962b0bf9
Add draw interaction tests
2014-01-10 14:02:36 +01:00
Tom Payne
4e65fefc00
Move vector code out of the way
2013-11-20 11:39:21 +01:00
Tim Schaub
a2b55b04e8
Rename layerFilter option to layers and accept array
2013-11-12 22:08:59 -07:00
Tim Schaub
05b9922861
Tests for draw interaction
...
The tests revealed that polygons can be drawn with counter-clockwise exterior ring order. In the polygon constructor, we enforce clockwise winding for exterior rings. So after drawing, we pass polygon coordinates back to the constructor before adding feature to the target layer.
2013-11-12 16:06:42 -07:00
ahocevar
0ed208b710
Make renderIntent private and add a getter
2013-11-11 22:07:18 +01:00
ahocevar
d9fd459654
Do not use a temporary layer for selected features
2013-11-09 14:15:35 +01:00
Tim Schaub
009f7b53a1
Make interactions event targets
2013-11-07 16:39:05 -07:00
Tim Schaub
7d2d68c011
Give interactions a reference to the map
...
This is in line with what we do for controls and overlays. A follow-up change will add calls to `setMap` when interactions are added to a map.
2013-10-31 09:25:52 -06:00
ahocevar
100b85a7b0
Converting control to an interaction
...
To dispatch events, the interaction base class now inherits from
goog.events.EventTarget.
2013-08-29 16:50:53 +02:00
Éric Lemoine
79166dc1d6
Constraint objects moved to ol namespace from ol.interaction namespace
2012-09-27 00:10:54 +02:00
Tom Payne
228e5a8dbf
Move requires to end of the file to ensure tests run even if goog.require fails
2012-09-26 19:40:16 +02:00
Éric Lemoine
92f0711404
Jasmine tests for ol.interaction.ResolutionConstraint
2012-09-25 00:02:22 +02:00