Marc Jansen
cbb72c1ce4
Remove goog.isDef from layer
2015-09-25 11:35:12 -06:00
Marc Jansen
66ad8364e0
Remove goog.isDef from imagelayer
2015-09-25 11:35:12 -06:00
Marc Jansen
b5ecc6e43c
Remove goog.isDef from heatmaplayer
2015-09-25 11:35:12 -06:00
Guillaume Beraudo
3811228ac7
Add Z-index to layers
...
This commit allows setting a z-index property on the layers and uses
it in the canvas, WEBGL and DOM map renderers for ordering the layers
before rendering.
Default z-index is 0 for managed layers and 1000 for unmanaged ones.
It allows always on bottom, always on top and more complex layer layouts.
2015-09-03 11:31:57 +02:00
Éric Lemoine
b1973fcdf4
Render map when layer.setMap(map) called
2015-08-20 10:12:51 +02:00
Frederic Junod
0a6745f1e4
Remove unused goog.require
...
Found by the latest version of closure-compiler (v20150729)
2015-08-04 10:01:11 +02:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Andreas Hocevar
26e146b1d8
Ignore layer filter for unmanaged layers
...
To make unmanaged vector layers work like the removed ol.FeatureOverlay,
the layer filter for ol.Map#forEachFeatureAtPixel needs to ignore unmanaged
layers.
2015-07-07 22:24:57 +02:00
Andreas Hocevar
817370a65b
Use 'managed' instead of 'unmanaged' in LayerState
2015-06-11 18:34:20 +02:00
Marc Jansen
6ed677a3f0
Link to correct layer base class
2015-06-11 17:50:40 +02:00
Andreas Hocevar
5a2a7d30e6
Add 'unmanaged' to ol.layer.LayerState
2015-06-11 10:17:11 +02:00
Andreas Hocevar
9acd65270a
Make clear how to remove an unmanaged layer from a map
2015-06-09 15:44:39 +02:00
Andreas Hocevar
54da473991
Allow layers that are not managed by the map
...
When a layer is configured with a map, it will be added on top of other
layers, and not be managed in the map's features collection. The layerState
will have an 'unmanaged' flag for such layers. For vector layers, this flag
is used to not skip any features.
2015-06-09 15:44:29 +02:00
tsauerwein
a3f9b3ba43
Add assertion for renderOrder
2015-05-21 09:26:47 +02:00
Frederic Junod
486a329cb4
Fix memory leak when removing layers from ol.layer.Group
...
Fixes #3479
2015-04-20 09:20:19 +02:00
Marc Jansen
a278c65e61
Add basic docs for layer.Vector
2015-04-18 09:07:41 +02:00
Marc Jansen
041abdb6a1
Add basic docs for layer.Tile
2015-04-18 09:07:34 +02:00
Marc Jansen
b457b26743
Add basic docs for layer.Group
2015-04-18 09:07:13 +02:00
Marc Jansen
b46505a09b
Add basic docs for layer.Base
2015-04-18 09:07:05 +02:00
Marc Jansen
18bb32e409
Add basic docs for layer.Image
2015-04-18 09:01:15 +02:00
Marc Jansen
192639a876
Add basic docs for layer.Heatmap
2015-04-18 09:00:51 +02:00
Frederic Junod
0fce3d5ec9
Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
...
The return type of the function is {!ol.Collection.<ol.layer.Base>}
2015-04-08 12:16:39 +02:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Éric Lemoine
42c4ae9ced
Add updateWhileInteracting to olx.layer.VectorOptions
2015-04-01 08:27:29 +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
Frederic Junod
d12cdc336c
Create the circle only when the blur and radius are set
2015-02-25 09:16:42 +01:00
Frederic Junod
232f4975c4
Add ol.layer.Heatmap#blur getter and setter
2015-02-25 08:57:04 +01:00
Frederic Junod
dfda3e37a4
Add ol.layer.Heatmap#radius getter and setter
2015-02-12 14:16:48 +01:00
Frederic Junod
b5206cb354
Make ol.layer.Heatmap.createCircle_ an instance function
2015-02-12 13:45:44 +01:00
Frederic Junod
65c2f7de5f
Remove unused goog.require
2015-02-05 10:56:44 +01:00
Frederic Junod
fc3c808209
Disallowed undefined 'minResolution' value
2015-01-27 18:07:42 +01:00
Frederic Junod
1d6f7e9504
Disallowed undefined 'maxResolution' value
2015-01-27 18:07:42 +01:00
Frederic Junod
60ea87fdfb
Disallowed undefined 'saturation' value
2015-01-27 18:07:42 +01:00
Frederic Junod
caa8428990
Disallowed undefined 'contrast' value
2015-01-27 18:07:42 +01:00
Frederic Junod
007ad2c58f
Disallowed undefined 'brightness' value
2015-01-27 18:07:42 +01:00
Frederic Junod
663f18cd29
Disallowed undefined 'opacity' value
2015-01-27 18:07:42 +01:00
Frederic Junod
e25cb30e5f
Disallowed undefined 'hue' value
2015-01-27 18:07:42 +01:00
Frederic Junod
c7dbd4a303
Disallowed undefined 'visible' value
2015-01-27 18:07:42 +01:00
Frederic Junod
f3bafab1e6
Don't pass specific options to the parent constructor
2015-01-22 11:30:20 +01:00
Tim Schaub
06dc0902c6
Avoid use of goog.array.clone with arrays
2015-01-15 12:43:12 -07:00
Andreas Hocevar
b1a73da9dd
Add updateWhileAnimating option
...
With this option, vector batches will be recreated with every frame.
For animations, this means that vector data won't be clipped to the
extent at which the animation started.
2015-01-14 16:33:05 +01:00
Frederic Junod
b827bc126c
Don't pass specific options to the parent constructor
2015-01-08 14:07:33 +01:00
Frederic Junod
91d2b3b87f
Don't pass renderBuffer option to the parent constructor
2015-01-08 10:59:42 +01:00
Frederic Junod
55dda99cfe
Assert that ol.layer.Tile#getUseInterimTilesOnError is always set
2015-01-07 16:59:44 +01:00
Frederic Junod
df51e55781
Assert that ol.layer.Tile#getPreload is always set
2015-01-07 16:48:15 +01:00
Éric Lemoine
8e8fc9977c
Add a renderBuffer option to ol.layer.Vector
2014-12-18 13:20:32 +01:00
Bart van den Eijnden
3db26f1d2b
Use the layergroup's extent if no extent provided
2014-11-20 08:35:40 +01:00
Éric Lemoine
6fe80c4111
Use correct layer property names
2014-10-28 14:22:27 +01:00
Éric Lemoine
dc7aee1974
Use ternary notation
2014-10-27 17:22:17 +01:00
Tim Schaub
d712b2ba54
Allow source to be set after layer construction
2014-10-25 15:34:47 -06:00