Andreas Hocevar
fad3cf9672
Merge pull request #3758 from ahocevar/remove-featureoverlay
...
Removal of ol.FeatureOverlay
2015-06-10 14:33:28 +02:00
Andreas Hocevar
57e1dda5f1
Make sure that #clear() keeps the collection in sync
2015-06-09 15:44:39 +02:00
Andreas Hocevar
53d5d8c1d9
Get rid of ol.FeatureOverlay
...
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Peter Robins
282fdafad7
Standardise draw/modify descriptions
2015-06-05 07:54:22 +00:00
Björn Harrtell
9a9b838235
Add mapBrowserEvent as a member of ol.SelectEvent
2015-06-04 16:53:53 +02:00
Peter Robins
7f1053d2cd
Add @fires to select interaction
2015-05-29 10:59:07 +00:00
Éric Lemoine
531b35d7c2
Be consistent with the way we name types
2015-05-21 17:32:32 +02:00
Éric Lemoine
879307da1b
Add missing goog.provides in drawinteraction.js
2015-05-21 15:41:51 +02:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Andreas Hocevar
19c91235ce
Add convenience function to create a regular polygon geometryFunction
2015-05-14 23:24:29 +02:00
Andreas Hocevar
250221cded
Add new geometryFunction option
...
This allows applications to control the geometry that is created from the
drawing sketch. Will e.g. be useful to create a regular polygon instead of
a circle when in Circle mode.
2015-05-14 23:24:29 +02:00
Andreas Hocevar
1d6530ce9c
Merge pull request #3616 from ahocevar/freehand-drawing
...
Add support for freehand drawing to the Draw interaction
2015-04-27 11:27:10 +02:00
tsauerwein
77f16c7fd6
Fix XYZ coordinates in snap interaction
2015-04-24 09:26:31 +02:00
Andreas Hocevar
ed424eded8
Add support for freehand drawing to the Draw interaction
2015-04-22 17:45:55 +02:00
Marc Jansen
4ea8cb7a19
Add basic docs for snapinteraction
2015-04-22 14:22:34 +02:00
Marc Jansen
a784157344
Add basic docs for selectinteraction
2015-04-22 14:22:34 +02:00
Marc Jansen
340d4805af
Add basic docs for pointerinteraction
2015-04-22 14:22:34 +02:00
Marc Jansen
5a6c95b13c
Add basic docs for mousewheelzoominteraction
2015-04-22 14:22:33 +02:00
Marc Jansen
73b103a19c
Add basic docs for modifyinteraction
2015-04-22 14:20:06 +02:00
Marc Jansen
f756246efc
Add basic docs for keyboardzoominteraction
2015-04-22 14:19:50 +02:00
Marc Jansen
98c6a24861
Add basic docs for keyboardpaninteraction
2015-04-22 14:19:30 +02:00
Marc Jansen
1917193ea9
Add basic docs for interaction
2015-04-22 14:19:17 +02:00
Marc Jansen
750a644396
Add basic docs for drawinteraction
2015-04-22 14:18:50 +02:00
Marc Jansen
6da863d627
Add basic docs for draganddropinteraction
2015-04-22 14:18:29 +02:00
Marc Jansen
134d8e6c18
Add basic docs for doubleclickzoominteraction
2015-04-22 14:18:01 +02:00
Frédéric Junod
8b95ea4fbc
Merge pull request #3549 from fredj/keyboard_pan_duration
...
Move ol.*_DURATION const to a constructor option
2015-04-20 09:03:53 +02:00
Guillaume Beraudo
a468e8025a
Modify draw interaction dispatch order
...
When finishing drawing, this PR dispatches the `drawend` event before adding
the feature to the source or collection.
This change allows user code to finish configuring the feature (setting style,
properties, ...).
It is useful since inserting a feature, or later on modifying it, may trigger
processing which only makes sense if the feature is ready. For example,
ol3-cesium will recreate a 3D counterpart.
2015-04-16 16:51:54 +02:00
Frederic Junod
6c33f84798
Move ol.DRAGROTATE_ANIMATION_DURATION const to a constructor option
2015-04-14 09:05:52 +02:00
Frederic Junod
a94a87323d
Move ol.DRAGROTATEANDZOOM_ANIMATION_DURATION const to a constructor option
2015-04-14 08:57:27 +02:00
Frederic Junod
1daf4628b7
Move ol.ROTATE_ANIMATION_DURATION const to a constructor option
2015-04-13 15:05:35 +02:00
Frederic Junod
2fcdc48d20
Move ol.DRAGZOOM_ANIMATION_DURATION const to a constructor option
2015-04-13 14:59:39 +02:00
Frederic Junod
3b4bc0be25
Move ol.KEYBOARD_PAN_DURATION const to a constructor option
2015-04-13 14:54:23 +02:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Frédéric Junod
4619cac9ce
Merge pull request #3431 from fredj/cleanup
...
Better typing
2015-03-31 17:38:00 +02:00
Frederic Junod
d138b2d1d5
Better typing
2015-03-31 14:32:23 +02:00
Éric Lemoine
c993964d27
Merge pull request #3422 from elemoine/multi-filter
...
Fix Select behavior when multi is false
2015-03-31 14:16:32 +02:00
Pierre GIRAUD
4b453f5be6
Adding missing provide for SelectFilterFunction
2015-03-31 09:36:25 +02:00
Bart van den Eijnden
47ce127a10
Add assert messages for all assertions up until ol.renderer.vector.
2015-03-30 22:55:23 +02:00
Éric Lemoine
9022530bf9
Fix Select behavior when multi is false
...
This commit addresses https://github.com/openlayers/ol3/pull/3402#issuecomment-87701660 .
2015-03-30 18:32:36 +02:00
Andreas Hocevar
9add762f63
Merge pull request #3417 from fperucic/ol.interaction.Snap-extentFix
...
ol.interaction.Snap extent fix
2015-03-30 16:08:57 +02:00
Fran Peručić
6343c0420d
fix: prevent indexed extent from beeing overwitten
...
when using ol.source.Vector with snap, indexedFeaturesExtents_ is updated whenever source calls geometry#getExtent
2015-03-30 15:13:09 +02:00
Fran Peručić
60dbe93f7f
fix: set pendingFeatures_ as object on init
2015-03-30 15:01:23 +02:00
Éric Lemoine
91d14a35bb
Merge pull request #3402 from elemoine/selectfilter
...
Add "filter" option to Select interaction
2015-03-30 13:45:46 +02:00
acanimal
1f0c21ac60
Add "filter" option to Select interaction
2015-03-30 13:07:02 +02:00
Fran Peručić
4168cda453
add: listen for 'change:geometry'
...
Geometry index won't be updated correctly if feature geometry is changed using `feature.setGeometry(new_geometry)`
ol.interaction.Snap should listen for a 'change:geometry' event on ol.Feature
2015-03-29 18:55:08 +02:00
Fran Peručić
4b85f5737c
replaced ol.Collection with Array
2015-03-29 10:57:44 +02:00
Alexandre Dubé
d740640321
Fix type of source and features
2015-03-27 09:07:34 -04:00
Andreas Hocevar
056c3ad23e
Add consistency for pointer event handlers
...
Now all are private static functions.
2015-03-27 08:58:28 -04:00
Alexandre Dubé
b34d7ce6cc
Fix - support ol.Collection only as features
2015-03-27 08:58:21 -04:00
Fran Peručić
42d2adb1cf
fix: repeating sort function + js annotation
...
Sort function is now bind to this, and it uses a pixelCoordinate_ member.
ol.interaction.Snap.handleEvent is removed
js annotations are modified
2015-03-27 12:48:52 +01:00