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
Tim Schaub
c06774acb5
Allow source to be set with set method as well
2014-10-25 15:31:08 -06:00
Tim Schaub
88030dbce7
Allow layer source to be set
2014-10-25 15:31:07 -06:00
Frederic Junod
aaeb2b6938
Remove unnecessary parentheses
2014-09-29 09:05:22 +02:00
Frederic Junod
48b9475bb6
Export ol.layer.Base
...
See #2615
2014-09-25 10:40:03 +02:00
Andreas Hocevar
b431487435
Merge pull request #2684 from ahocevar/notify-change
...
Rename ol.Observable#dispatchChangeEvent() to #changed()
2014-09-11 15:51:22 -07:00
Éric Lemoine
96f7d6323a
Change signature of ol.layer.Group#getLayers
...
This commit changes the signature of ol.layer.Group#getLayers from {ol.Collection.<ol.layer.Base>|undefined} to {!ol.Collection.<ol.layer.Base>}. In this way the caller is guaranteed that getLayers returns a dereferencable object.
2014-09-08 15:45:58 +02:00
Andreas Hocevar
ebe3b48e0a
Rename ol.Observable#dispatchChangeEvent() to #changed()
...
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Frederic Junod
b366407038
Set ol.layer.Tile#getSource return type to ol.source.Tile
2014-09-03 11:14:33 +02:00
Frederic Junod
0e964cb84c
Set ol.layer.Image#getSource return type to ol.source.Image
2014-09-03 11:14:33 +02:00
Frederic Junod
568f854f29
Add olx.layer.ImageOptions typedef
2014-09-03 11:14:33 +02:00
Guillaume Beraudo
da2a291208
ol.layer.Vector.getSource return type specialisation.
2014-09-02 15:14:01 +02:00
Éric Lemoine
03d321ce1f
Better docs for ol.layer.Vector#setStyle
2014-08-27 12:26:10 +02:00
Éric Lemoine
9cc0841efb
Allow passing undefined to ol.layer.Vector#setStyle
2014-08-27 12:26:10 +02:00
Éric Lemoine
bbeb4442a5
Add @api annotations to ol.layer.Tile
2014-08-22 11:24:07 +02:00
Éric Lemoine
3ced2d8266
Add @api stable annotations to ol.layer.Vector
2014-08-22 11:24:07 +02:00
Éric Lemoine
1085d4f152
Add @api stable annotations to ol.layer.Tile
2014-08-22 11:24:07 +02:00
Éric Lemoine
ee745f8c9e
Add @api stable annotations to ol.layer.Image
2014-08-22 11:24:06 +02:00
Éric Lemoine
e50ba2172f
Add @api stable annotations to ol.layer.Group
2014-08-22 11:24:06 +02:00
Éric Lemoine
15487d1ce9
Add @api stable annotations to ol.layer.Layer
2014-08-22 11:24:06 +02:00
Éric Lemoine
efc32b14df
Add @api stable annotations to ol.layer.Base
2014-08-22 11:24:06 +02:00
Petr Sloup
d7027a6a64
Export getLayers and setLayers methods of ol.layer.Group
...
This is nicer than having to use .get("layers") and .set("layers", x).
2014-08-18 13:48:42 +02:00