Tim Schaub
4d9975754f
Mapbox vector layer
2020-05-03 16:07:27 -06:00
Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Szabo Bogdan
6aa398cbec
Fix hit detection for images with missing size
2020-03-26 21:23:23 +01:00
Szabo Bogdan
fbe7b0bd78
Fix test typo
2020-03-26 21:22:08 +01:00
Andreas Hocevar
1ee03decdd
Assert each layer is only added to the map once
2020-01-24 17:52:13 +01:00
Andreas Hocevar
3e31551962
Improved tests
2019-11-20 00:52:18 +01:00
Andreas Hocevar
2a96b6a8e3
Merge pull request #10239 from ahocevar/simpler-container-reuse
...
Simpler container reuse
2019-11-01 19:14:05 +01:00
Andreas Hocevar
bb2bdb17aa
Render vector tile layers to a single canvas
2019-10-31 20:29:19 +01:00
Frederic Junod
b8c70bcbe7
Fix layer zIndex test with falsy values
2019-10-31 15:58:36 +01:00
Frederic Junod
c23d59e3a8
Remove extra argument passed to RenderEvent constructor
2019-10-31 15:47:27 +01:00
Andreas Hocevar
39012a58f8
Implement getFeatures() for ol/layer/VectorImage
2019-10-22 11:27:26 +02:00
Andreas Hocevar
54884314ee
Merge pull request #10094 from ahocevar/immediate-hitdetection
...
New Layer#getFeatures method with fast hit detection
2019-10-14 22:21:08 +02:00
Olivier Guyot
87414256e2
Heatmap / use worker events instead of timeout for test
2019-10-11 14:06:27 +02:00
Olivier Guyot
b44a6ab26a
Heatmap / add hit detection shaders
2019-10-08 13:27:31 +02:00
Andreas Hocevar
f477fc18f2
Add tests
2019-10-08 08:23:38 +02:00
Tim Schaub
e94c7b6c39
Only set frameState.animate true if in transition and alpha < 1
2019-08-15 12:55:27 -06:00
Tim Schaub
2c69ad2bb4
Throw on non-numeric opacity values
2019-08-15 12:55:13 -06:00
Tim Schaub
65ad4932f4
Support zoom limits for layers
2019-08-06 21:19:09 -04:00
ahocevar
6123be726a
Handle layer removal on shared containers
2019-06-02 13:59:06 +02:00
Olivier Guyot
14f580fe30
Layer / accepts a custom render function
2019-05-13 16:16:53 +02:00
ahocevar
020f513ed5
Remove unused sortByZIndex function
2019-02-14 17:40:38 +01:00
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
Tim Schaub
47ecd508fa
Test hybrid mode in vt constructor
2018-11-16 14:57:17 +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
Tim Schaub
580c2c6545
Named exports from ol/style/Style
2018-02-22 23:34:52 -08:00
Nicholas L
7097b530f3
Rename extent
2018-02-19 20:33:03 +13:00
Frederic Junod
4f358f018b
Add named exports for sortByZIndex function
2018-02-14 11:12:56 +01:00
Frederic Junod
ac32311894
Add named exports for visibleAtResolution function
2018-02-14 11:12:56 +01:00
Frederic Junod
31e30d28b7
Named exports from ol/obj
2018-01-16 14:14:17 +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
4f4c90fc20
Rename _ol_style_Style_ to Style
2018-01-11 13:22:43 -07:00
Tim Schaub
176021e188
Rename _ol_Collection_ to Collection
2018-01-11 12:06:58 -07:00
Tim Schaub
5337dc31d9
Rename _ol_layer_VectorTile_ to VectorTileLayer
2018-01-11 12:06:58 -07:00
Tim Schaub
f94d69c7a8
Rename _ol_layer_Layer_ to Layer
2018-01-11 12:06:58 -07:00
Tim Schaub
c6646b1cda
Rename _ol_layer_Group_ to LayerGroup
2018-01-11 12:05:59 -07:00
Tim Schaub
0113b9283c
Rename _ol_render_Event_ to RenderEvent
2018-01-11 11:58:26 -07:00
Frederic Junod
68d9f37fec
Rename _ol_renderer_Map_ to MapRenderer
2018-01-11 14:22:43 +01:00
Tim Schaub
ecd1343d75
Rename _ol_source_VectorTile_ to VectorTileSource
2018-01-10 09:36:29 -07:00
Tim Schaub
5f62d2ecfe
Rename _ol_source_OSM_ to OSM
2018-01-10 09:36:28 -07:00
Tim Schaub
ca6ea355e6
Rename _ol_source_Vector_ to VectorSource
2018-01-10 09:36:28 -07:00
Tim Schaub
45c6e43b42
Rename _ol_layer_Vector_ to VectorLayer
2018-01-10 09:36:23 -07:00
Ron Young
9fa59d0735
rename map in tests
2017-12-21 23:11:42 -07:00
Marc Jansen
02002082bf
Named exports from ol/array module
2017-12-19 17:22:58 +01:00
Frédéric Junod
2d58ef4c1d
Merge pull request #7635 from fredj/named_export
...
More module renaming
2017-12-19 16:41:14 +01:00
Frederic Junod
aa45598ae1
Rename _ol_source_Source_ to Source
2017-12-19 08:51:50 +01:00
Marc Jansen
25946b4541
Rename _ol_layer_Tile_ to TileLayer
2017-12-19 08:45:00 +01:00
Frederic Junod
d35b4b8be4
Rename _ol_layer_Heatmap_ to Heatmap
2017-12-18 13:29:52 +01:00
Tim Schaub
6f72ffe498
Named exports from ol/proj
2017-12-14 13:08:40 +01:00