Commit Graph

19 Commits

Author SHA1 Message Date
É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
95bef8d7d2 Fix vector examples 2014-02-06 10:40:09 +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
d36fcc1f69 Add select-features example 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
22da054774 Determine the callback count while iterating through all layers
Previously, if a layer didn't have a `getFeature*ForPixel` type method, the loop count would be decremented.  This means that all layers would not be considered.  Instead, the callback count should be incremented before requests are made and decremented in the callback.
2013-11-13 07:36:54 -07:00
Tim Schaub
a2b55b04e8 Rename layerFilter option to layers and accept array 2013-11-12 22:08:59 -07:00
Tom Payne
8f8f94e697 Rename ol.layer.TileLayer to ol.layer.Tile 2013-09-09 15:14:45 +02:00
Tim Schaub
8b7a0a060c Export ol.interaction namespace instead of the defaults function 2013-09-04 13:55:54 -06:00
ahocevar
643eb5c4cc Better initial extent 2013-08-30 14:46:32 +02:00
ahocevar
8a180e63b2 Filter layer by id 2013-08-29 16:50:55 +02:00
ahocevar
0fbf07fef1 Using a renderIntent lib function instead of this identifier
A 'this' identifier is quite useless with compressed JavaScript,
and in fact it turned out to fail in advanced mode when trying
to access a feature's renderIntent property with it. The added
renderIntent lib function as a Call expression does the job
well.
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
ahocevar
c6e61e2d23 Dynamic layers and lazy selection layer creation
With this change, the user provides a filter function instead of
an array of layers. Selection layers are created lazily, and
addition/removal of layers is not handled by the control to give
the user more options, as suggested by @elemoine.
2013-08-29 16:50:53 +02:00
ahocevar
3a50a754aa Implementing renderIntent handling 2013-08-29 16:50:52 +02:00
ahocevar
89052079b7 Example update after recent API changes 2013-08-29 16:50:52 +02:00
ahocevar
e2526621d1 Select example and skeleton with event listeners 2013-08-29 16:50:50 +02:00