Commit Graph

492 Commits

Author SHA1 Message Date
Tom Payne
ad29e6bceb Don't use withFrozenRendering in ol.interaction.Select#handleMapBrowserEvent 2014-02-27 19:01:21 +01:00
Tom Payne
73be72380b Don't use withFrozenRendering in ol.interaction.DragRotateAndZoom#handleDragEnd 2014-02-27 19:01:15 +01:00
Tom Payne
c9c8497b7e Don't use withFrozenRendering in ol.interaction.Interaction.zoomWithoutConstraints 2014-02-27 19:01:07 +01:00
Tom Payne
e0c8b57e11 Don't use withFrozenRendering in ol.interaction.Interaction.rotateWithoutConstraints 2014-02-27 19:01:01 +01:00
Tom Payne
23f6fc0d0f Merge pull request #1732 from twpayne/render-sync
Switch to asynchronous rendering by default
2014-02-27 11:03:20 +01:00
Antoine Abt
a971928bbe Add features option to draw interaction 2014-02-21 13:41:07 +01:00
Antoine Abt
ec832bdf6e Modify interaction takes style & features options
Instead of a FeatureOverlay
2014-02-21 12:35:30 +01:00
Antoine Abt
7cea6f3240 Make select interaction create its FeatureOverlay
You can now configure it with a `style` option.
2014-02-21 11:59:43 +01:00
Tom Payne
a8f932fa07 Rename ol.Map#requestRenderFrame to ol.Map#render 2014-02-20 16:54:20 +01:00
Éric Lemoine
db83b11eee Modify interaction doesn't need to store styles 2014-02-16 16:15:11 +01:00
Tim Schaub
10d5073732 Give the draw interaction a style option 2014-02-13 10:25:17 -07:00
Antoine Abt
f8a748d7f4 Fix MultiPoint modify 2014-02-12 15:26:57 +01:00
Antoine Abt
56a1f053ff Check geometry type instead of instanceof 2014-02-12 15:25:47 +01:00
Antoine Abt
0764ea99ee Merge pull request #1654 from tonio/vector-api-modify
Add Modify Interaction
2014-02-11 16:59:43 +01:00
Tom Payne
e0765240a2 Merge branch 'ie-compat' of git://github.com/Intermedix/ol3 into Intermedix-ie-compat 2014-02-11 16:54:39 +01:00
Antoine Abt
03624b5f78 Check segment writers existence 2014-02-11 14:36:54 +01:00
Antoine Abt
f9b6eabfef %s/render.FeaturesOverlay/FeatureOverlay/ 2014-02-10 11:26:14 +01:00
Antoine Abt
0272659118 Remove useless style method 2014-02-10 11:26:14 +01:00
Antoine Abt
72675bf6ad Make interaction ctor only have an option object 2014-02-10 11:26:13 +01:00
Antoine Abt
5325af26d6 Store mouse last position to draw vertex at feature selection 2014-02-10 11:26:13 +01:00
Antoine Abt
e64766f01f Add support for GeometryCollection in modify interaction 2014-02-10 11:26:13 +01:00
Antoine Abt
a60203f931 Move segment writers in their own methods 2014-02-10 11:26:13 +01:00
Tim Schaub
2fc15a5bf0 As it is currently used, opt_options is not optional
It would be nice if the compiler would warn us of things like this (accessing properties of undefined).
2014-02-07 13:48:32 -07:00
Antoine Abt
933ef64db1 Force remove vertexFeature when there’s no features left in FeaturesOverlay 2014-02-07 14:52:59 +01:00
Antoine Abt
fb637aedca Move variables declaration at the top 2014-02-07 14:52:59 +01:00
Antoine Abt
a1d20182fe Make modify interaction use FeaturesOverlay
Instead of a whole map.
2014-02-07 14:52:58 +01:00
oterral
3155d681be Add modify feature interaction and its example 2014-02-07 14:52:57 +01:00
oterral
3bb90c5b4c Send the feature drawn with the drawend event 2014-02-07 13:45:13 +01:00
Éric Lemoine
57f77bb444 Merge pull request #1638 from elemoine/featureoverlay
Rename ol.render.FeaturesOverlay to ol.FeatureOverlay
2014-02-06 18:00:09 +01:00
Éric Lemoine
90155ad519 Passing options to the select interaction is mandatory 2014-02-06 15:07:08 +01:00
Tom Payne
3436c7e6f9 Fix capitalisation of ol.Map in docs 2014-02-05 17:12:35 +01:00
Austin Hyde
48cf5926b8 Fix IIFE invoking Canvas APIs that don't exist in early IE
Changed ol.interaction.Draw.defaultStyleFunction to be a getter, so
that it only calls Canvas APIs when needed, rather than on script load
2014-02-05 10:31:16 -05:00
Éric Lemoine
40276ab6ba Merge pull request #1216 from probins/keyboard
Clarify keyboard events and focus in docs
2014-02-05 16:14:04 +01:00
Éric Lemoine
356f86d8f7 Use featureOverlay in select interaction 2014-02-04 16:43:26 +01:00
Éric Lemoine
169bdbc16f goog.require in alphabetical order 2014-02-04 16:32:59 +01:00
Éric Lemoine
10f03374f3 Rename ol.render.FeaturesOverlay to ol.FeatureOverlay 2014-02-04 16:30:15 +01:00
Tom Payne
33dd1371c8 Add stability annotation to ol.interaction.Select 2014-02-03 14:59:15 +01:00
Tom Payne
b43148982a Add stability annotation to ol.interaction.Draw 2014-02-03 14:59:15 +01:00
Tom Payne
e85cc8b80e Improve type checking in ol.interaction.Select 2014-01-30 11:20:58 +01:00
Tom Payne
7516aab1ca Fix option property in ol.interaction.KeyboardPan 2014-01-30 11:20:58 +01:00
Éric Lemoine
63bcf684f7 Fix the touch interactions
This fixes a bug introduced by 318fc68159.  Thanks @gjn for reporting the problem.
2014-01-30 09:13:03 +01:00
Tom Payne
9c91cb4fe4 Use event properties in ol.interaction.Select 2014-01-29 15:40:53 +01:00
Tom Payne
21e960d6a5 Merge pull request #1613 from twpayne/select-interaction
Port ol.interaction.Select
2014-01-29 06:32:33 -08:00
Tom Payne
2b71154bb2 Add ol.interaction.Select 2014-01-29 15:12:53 +01:00
Tom Payne
318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Tom Payne
390b61762e Convert ol.DrawEvent#getFeature method into feature property 2014-01-27 15:54:00 +01:00
Tom Payne
45350a34ed Convert ol.interaction.DragAndDropEvent#get* methods into properties 2014-01-27 15:52:03 +01:00
Frédéric Junod
996f193deb Merge pull request #1578 from fredj/exports
Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols
2014-01-22 08:53:54 -08:00
Tom Payne
518571a031 Merge pull request #1561 from oterral/vector-api-dblclick
Draw: Finish Polygon on last point like LineString
2014-01-22 08:46:46 -08:00
Tom Payne
6cb02724da Make ol.interaction.DragAndDrop fire an event instead of managing layers and sources 2014-01-22 17:26:47 +01:00