Frederic Junod
af8a22d34d
Keep two digits for the opacity value in layer state
2019-01-22 12:47:34 +01:00
Frederic Junod
5195adea85
Remove 'layerStates' property from the FrameState
2018-12-18 09:49:38 +01:00
ahocevar
95533e2425
Use configured zIndex for unmanaged layers
2018-08-15 10:58:52 +02:00
Tim Schaub
c860aed960
Import inherits, getUid, and VERSION from ol/util
2018-07-19 10:26:17 -06:00
Frederic Junod
ac32311894
Add named exports for visibleAtResolution function
2018-02-14 11:12:56 +01:00
Tim Schaub
ad62739a6e
Use blocked scoped variables
...
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
f94d69c7a8
Rename _ol_layer_Layer_ to Layer
2018-01-11 12:06:58 -07:00
Tim Schaub
0113b9283c
Rename _ol_render_Event_ to RenderEvent
2018-01-11 11:58:26 -07:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Frederic Junod
aa45598ae1
Rename _ol_source_Source_ to Source
2017-12-19 08:51:50 +01:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00
Tim Schaub
87295a74dd
Use named exports from ol/index.js
2017-12-12 12:34:23 -07:00
Tim Schaub
8a9bbd6264
Separate example scripts for dev and prod
2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48
Transformed
2017-12-12 06:53:18 -07:00
Tim Schaub
a3e3e99baa
Get rid of useless test exports
2017-08-17 15:16:58 -04:00
Tim Schaub
004cf15222
Add some missing test requires
2016-08-12 10:53:48 -06:00
Tim Schaub
ed5dbd1293
Put test requires on top
2016-08-08 09:58:11 -06:00
Peter Robins
f8f2cd11d5
Replace goog.getUid with ol.getUid
2016-07-20 11:01:00 +00:00
Andreas Hocevar
34d5cc228e
Merge pull request #5429 from probins/testenums
...
Remove enums from tests
2016-07-15 09:12:58 +02:00
Andreas Hocevar
ccf15b8be3
Remove useless target argument from ol.Event and subclass constructors
2016-07-05 09:40:00 +02:00
Peter Robins
06fd92353b
Remove enums from tests
2016-06-03 11:10:46 +00:00
Tim Schaub
ae4d8195c0
Remove use of goog.dispose()
2016-03-02 15:44:06 -07:00
Tim Schaub
d6f03697d7
Remove hue, saturation, contrast, and brightness
2015-09-27 13:16:30 -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
Andreas Hocevar
817370a65b
Use 'managed' instead of 'unmanaged' in LayerState
2015-06-11 18:34:20 +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
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
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
Tim Schaub
1daf36956c
Layer extent option
...
If provided, the layer extent will be used to limit data requests and rendering. If undefined, to limit will be imposed.
2014-07-24 10:26:07 -06:00
Éric Lemoine
fd8a46dcae
Hit detection respects min and maxResolution
2014-05-25 14:35:07 +02:00
Tim Schaub
9d5451b1d6
Provide a reference to the layer
2014-04-04 07:36:42 -06:00
Tim Schaub
625007f364
Make enum property name like its value
...
Where an enum value is used as an event type, it should be alllowercase (to follow DOM events). Property names should be ALLUPPERCASE in this case (just as camelCase and PascalCase are converted to CONSTANT_CASE).
2013-12-11 16:54:01 -07:00
Tim Schaub
a792a224f6
Avoid duplicate change event on visibility change
2013-12-11 01:28:55 -07:00
Tim Schaub
8fbfac52d4
Avoid firing duplicate change events in ol.layer.Layer
2013-12-11 01:20:07 -07:00
Tom Payne
167b309242
Replace source ready flag with loading/ready/error enum
2013-09-30 13:30:54 +02:00
Bruno Binet
fa484cca8c
Fix tests for min/maxResolution
2013-09-19 16:59:38 +02:00
Bruno Binet
1aa695580b
Add tests for layer.getLayerState()
2013-08-13 12:27:38 +02:00
Frederic Junod
cd13e700ac
Pass options to the base class
2013-06-25 13:13:41 +02:00
Tom Payne
aa1a71ed96
Don't attempt to constrain values in setters
2013-06-19 13:38:57 +02:00
Tom Payne
46553c719c
Rename ol.projection to ol.proj
2013-05-30 18:55:58 +02:00
Tom Payne
3c541045bb
Fix use of dispose in ol.layer.Layer tests
2013-04-22 17:16:43 +02:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Tom Payne
afcbec469a
Rename ol.projection.getFromCode to ol.projection.get
2013-03-07 13:29:39 +01:00
Tom Payne
df5f74b3c0
Add missing requires to specs
2013-03-04 20:02:55 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00