Tom Payne
ad29e6bceb
Don't use withFrozenRendering in ol.interaction.Select#handleMapBrowserEvent
2014-02-27 19:01:21 +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
É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
É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
e85cc8b80e
Improve type checking in ol.interaction.Select
2014-01-30 11:20:58 +01:00
Tom Payne
9c91cb4fe4
Use event properties in ol.interaction.Select
2014-01-29 15:40:53 +01:00
Tom Payne
2b71154bb2
Add ol.interaction.Select
2014-01-29 15:12:53 +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
ahocevar
0ed208b710
Make renderIntent private and add a getter
2013-11-11 22:07:18 +01:00
ahocevar
03e20ce6f1
Do not fail on non-vector layers
2013-11-09 16:12:13 +01:00
ahocevar
26c8c954c3
Make selectedFeaturesFilter available to other components
2013-11-09 16:03:30 +01:00
ahocevar
d9fd459654
Do not use a temporary layer for selected features
2013-11-09 14:15:35 +01:00
ahocevar
7cf636147b
Call setRenderIntent on the feature, not the layer
2013-11-09 14:15:35 +01:00
Éric Lemoine
8402eee0c3
Map "click" event renamed to "singleclick"
...
As discussed with @tschaub in #1195 .
2013-10-31 09:37:16 +01:00
Frederic Junod
a9159ecac3
Rename ol.interaction.condition to ol.events.condition
2013-10-30 12:13:44 +01:00
Paul Spencer
bada596b45
Add default stability level to docs of exported things.
2013-10-24 18:20:24 -04:00
ahocevar
f8e891ff15
Making the condition for adding to selection configurable
2013-09-27 11:45:15 +02:00
Tim Schaub
6276e633de
Merge pull request #832 from fredj/feature_getset_id
...
Rename setFeatureId to setId (same for get).
2013-09-20 10:31:37 -07:00
Frederic Junod
764aacb568
Rename {get|set}FeatureId to {get|set}Id
2013-09-17 12:50:56 +02:00
Paul Spencer
d7eee91195
Add exports for interactions.
2013-09-13 11:23:05 -04:00
Éric Lemoine
ba3f97d50a
Change the interaction condition signature
2013-09-12 18:08:01 +02:00
ahocevar
d8bc769758
Do not delete from oldFeatureMap
2013-08-30 23:18:59 +02:00
ahocevar
cbf7f91cfb
instanceof check to avoid ducktyping
2013-08-30 23:18:17 +02:00
ahocevar
9dfbfab648
Follow-up improvements for #897
...
* Interaction is no goog.Disposable any more.
* Permanent cleanup during selection instead of disposeInternal.
* Moved selectionLayers creation outside feature loop.
* Maintain selectedFeatures and unselectedFeatures only for
layers that have a setRenderIntent method.
2013-08-30 16:26:49 +02:00
ahocevar
9dae49dc18
Symbolizer defaults for the select renderIntent
2013-08-30 13:47:43 +02:00
ahocevar
43c67ba09f
Do not dispatch selection events for now
2013-08-29 16:50:55 +02:00
ahocevar
95cf0e1264
Less closures
2013-08-29 16:50:55 +02:00
ahocevar
0c1f2328f9
Do not implement a specific clone method
...
What we need here is a mix of deep and shallow cloning, and we
do not want to do this in a generic ol.Feature#clone() method.
2013-08-29 16:50:55 +02:00
ahocevar
c47634b2ee
Renaming condition to clickOnly, and fixing docs
2013-08-29 16:50:54 +02:00
Frederic Junod
89bdd3bc2c
Use a ol.interaction.condition in ol.interaction.Select
2013-08-29 16:50:54 +02: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