Tim Schaub
06dc0902c6
Avoid use of goog.array.clone with arrays
2015-01-15 12:43:12 -07:00
Éric Lemoine
fdf52c1865
Simplify hit detection code
2014-12-05 15:42:54 +01:00
Guillaume Beraudo
6b8a5870ba
Small feature overlay optimization
...
Compute `getSquaredTolerance` once, out of the loops.
2014-11-06 11:49:44 +01:00
Frederic Junod
eecb5770a5
Use the feature style if defined
...
Same behavior as ol.layer.Vector
2014-09-03 16:34:28 +02:00
Frederic Junod
0277026624
Stricter typing for ol.Collection
2014-07-30 09:38:16 +02:00
Antoine Abt
4b8ceca8eb
Move defaults style into style.js
2014-07-25 09:50:53 +02:00
Antoine Abt
60f1874766
Give precedence to feature style
2014-07-16 11:25:16 +02:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Tim Schaub
b9f444a008
Rename olx.View2DState to olx.ViewState and use viewState property
2014-06-27 09:58:25 -04:00
Andreas Hocevar
80fa0be42f
Use setStyle in the constructor
2014-06-27 12:14:22 +02:00
Andreas Hocevar
f67767aaf0
Add ol.renderer.vector.getSquaredTolerance and ol.SIMPLIFY_TOLERANCE
2014-06-27 12:10:46 +02:00
Andreas Hocevar
2171c92b5c
Add new tests for FeatureOverlay
...
In the process of creating these tests, a bug with setting this._style
was also fixed.
2014-06-27 11:46:47 +02:00
Éric Lemoine
4f23ef66d0
Make ol.FeatureOverlay use replay group
2014-06-14 14:22:10 +02:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Éric Lemoine
afce8e8f5f
Fix bug in ol.FeatureOverlay
...
This fixes a major regression introduced by db5b443 (#2028 ), where the FeatureOverlay won't draw features that do not have an image style.
2014-05-27 16:22:37 +02:00
oterral
db5b443bbd
Load the icon when needed in ol.FeatureOverlay
2014-05-27 09:17:38 +02:00
Andreas Hocevar
fbdbbfb7a7
Get rid of stability annotations and document stability with api
...
This change adds a stability value to the api annotation, with
'experimental' as default value.
enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.
Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Frederic Junod
b41ee35422
Use features.forEach instead of for loop
2014-04-28 13:54:26 +02:00
Frederic Junod
90c0944617
Fix coding style
2014-04-28 13:51:42 +02:00
Frederic Junod
a5620fa46a
Remove unneeded function binding
2014-04-28 13:50:54 +02:00
Frederic Junod
475be37ef4
Remove unused local variable
2014-04-28 13:49:14 +02:00
Éric Lemoine
6047a4dcf6
Use default style function in FeatureOverlay
2014-03-10 11:32:36 +01:00
Tom Payne
a8f932fa07
Rename ol.Map#requestRenderFrame to ol.Map#render
2014-02-20 16:54:20 +01:00
Tim Schaub
0ec5201f3a
Documentation and exports
2014-02-13 10:37:10 -07:00
Tim Schaub
477c369f6c
As with the vector layer, feature overlays have getStyle and setStyle
2014-02-13 10:25:17 -07:00
Tim Schaub
c64c24d3dc
Common code for creating a style function
2014-02-13 10:25:16 -07:00
Tim Schaub
6abb691224
Give feature overlays a style option
2014-02-13 10:25:16 -07:00
Antoine Abt
f9b6eabfef
%s/render.FeaturesOverlay/FeatureOverlay/
2014-02-10 11:26:14 +01:00
Antoine Abt
1c4926b591
Ensure styles are defined in FeaturesOverlay
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
Tom Payne
09d5d31fc7
Rename ol.render.IRender to ol.render.IVectorContext
2014-02-06 18:03:27 +01:00
Éric Lemoine
d40440e028
Change olx.render.FeaturesOverlayOptions to olx.FeatureOverlayOptions
2014-02-04 16:43:56 +01:00
Éric Lemoine
10f03374f3
Rename ol.render.FeaturesOverlay to ol.FeatureOverlay
2014-02-04 16:30:15 +01:00
Éric Lemoine
07b16edaf7
Rename render/featuresoverlay files to featureoverlay
2014-02-04 16:25:42 +01:00