Commit Graph

105 Commits

Author SHA1 Message Date
Tim Schaub
f5803ad6ca Support expressions for band arguments 2021-12-05 17:04:50 -07:00
Andreas Hocevar
60c4268569 Normalize relative urls for style url 2021-12-04 14:36:08 +01:00
Andreas Hocevar
544e55fe1a Use source minzoom if not configured otherwise 2021-12-02 06:19:21 +01:00
Tim Schaub
3ef40f8e22 Allow wrapX to be set on GeoTIFF sources 2021-11-30 16:49:21 -07:00
Tim Schaub
3bf1aef8e2 Avoid loading tiles outside the grid extent 2021-11-30 16:30:51 -07:00
Andreas Hocevar
e00d005088 Fix tiles and background handling 2021-11-24 10:53:55 +01:00
Tim Schaub
f6f34f82e5 Allow data tile source loader to return a value or a promise 2021-11-20 13:55:33 -07:00
Andreas Hocevar
d4cc76f3f1 Add background to MapboxVector layer 2021-11-19 18:17:55 +01:00
Tim Schaub
f336cf30b0 Additional types for WebGL renderer, sources, and tiles 2021-11-16 11:24:41 -07:00
Tim Schaub
a2f3c02ac5 Allow canvas reuse for WebGL layers 2021-11-14 12:34:14 -07:00
Tim Schaub
0dfbedb099 Lazily create the WebGL helper 2021-11-13 11:37:09 -07:00
Tim Schaub
371bb85350 Add a map property to layers 2021-11-12 17:54:10 -07:00
Tim Schaub
924b85f4ca Merge pull request #12939 from tschaub/dynamic-colors
Example that demonstrates a color expression using variables
2021-11-09 06:35:38 -07:00
MoonE
fa2f730442 Merge pull request #12893 from andrewcoder002/main
Allow map target to be an external window
2021-11-03 21:20:24 +01:00
Andreas Hocevar
1697d1b647 Use URL constructor
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com>
2021-11-03 13:37:47 +01:00
Andreas Hocevar
cbac16e21f Make MapboxVector layer work in more access key scenarios 2021-11-02 20:45:30 +01:00
Maximilian Krög
50dc9f1f88 Fix map tests 2021-11-02 00:21:11 +01:00
Tim Schaub
0e19c9aa2b Example that demonstrates a color expression using variables 2021-10-29 11:48:41 -06:00
Tim Schaub
2adf74ece4 Include WebGL context in render events for WebGL layers 2021-10-29 08:39:47 -06:00
Tim Schaub
aff751bdf0 Merge pull request #12917 from mike-000/removeFeature-2
Make removeFeature consistent with other remove methods
2021-10-27 14:20:10 -06:00
Tim Schaub
1b17f347c0 Add test for new removeFeature behavior 2021-10-27 14:11:55 -06:00
Tim Schaub
3bc28f2125 Merge pull request #12918 from mike-000/setDisplacement-2
Add setDisplacement method to ol/style/Image and subclasses
2021-10-26 17:05:48 -06:00
Maximilian Krög
687cffb5d9 Fix flaky view animation test 2021-10-26 21:52:10 +02:00
mike-000
f16482b420 Test setDisplacement 2021-10-25 10:28:54 +01:00
mike-000
eb0bfc970e Test setDisplacement
Test getAnchor with displacement
2021-10-25 10:27:18 +01:00
Maximilian Krög
84729e985f Add test for animation on view with invalid state 2021-10-03 00:19:05 +02:00
Tim Schaub
709139c657 Merge pull request #12836 from tschaub/denormalized
Support a normalize option on the GeoTIFF source
2021-09-29 15:57:27 -06:00
MoonE
9e37182649 Merge pull request #12646 from ashchurova/fix-8136-hit-detection-custom-renderer
Support for hit detection in styles with custom rendering
2021-09-29 20:22:57 +02:00
Tim Schaub
d7b0191c78 Support a normalize option on the GeoTIFF source 2021-09-29 10:25:22 -06:00
Maximilian Krög
2d3d6cae31 Test VectorImage rendering view extent with no features 2021-09-27 23:04:55 +02:00
Tim Schaub
4dc66ef8e3 Enqueue tiles at the next resolution in the animation 2021-09-23 17:28:39 +00:00
Tim Schaub
a332842540 More cleanup in the WebGL tile layer's dispose method 2021-09-23 12:00:00 +00:00
Tim Schaub
a63735a649 Add a method to set the map layers 2021-09-21 13:34:35 +00:00
Andreas Hocevar
b50f4ce107 Merge pull request #12789 from ahocevar/mapbox-vector-layer-tilejson
Handle TileJSON urls in Mapbox Style document
2021-09-21 11:08:51 +00:00
Tim Schaub
d5813deb08 Allow maps to be configured with a promise for view props 2021-09-21 10:25:29 +00:00
Andreas Hocevar
8585d4382b Handle TileJSON urls in Mapbox Style document 2021-09-20 23:37:53 +00:00
Andreas Hocevar
610fd69120 Do not render vector tiles unless they are being used 2021-09-18 11:02:55 +02:00
Andreas Hocevar
50e89080a4 Use view projection tile grid in tile loadingstrategy 2021-09-10 02:01:47 +02:00
Anna Shchurova
a281b7c1aa Added unit tests for hit detection 2021-09-08 17:05:00 -04:00
Andreas Hocevar
cde6417d62 Add convertToRGB option to GeoTIFF source 2021-09-07 17:19:34 +02:00
Tim Schaub
be51d0480c Try harder to get the projection from GeoTIFF headers 2021-09-06 16:55:16 -06:00
Tim Schaub
69ec9871e2 Merge pull request #12695 from mike-000/KML
Update Google KML icon anchors and correct icon scaling
2021-09-05 08:51:06 -06:00
mike-000
0c912b6c29 Test load icon image and reset the scale 2021-09-04 23:12:40 +01:00
mike-000
35ed7d4358 Update expected scales 2021-09-04 18:10:01 +01:00
Tim Schaub
4099f60779 OGC vector tile source 2021-09-03 12:28:27 -06:00
Tim Schaub
1601d6b859 Merge pull request #12671 from tschaub/cacheless
Configure cache on the layer instead of the source
2021-08-28 15:01:01 -06:00
Tim Schaub
d37e3e3134 Configure cache on the layer instead of the source 2021-08-27 18:04:00 -06:00
Tim Schaub
de9ff20f65 Additional docs and type checking for raster source 2021-08-26 11:04:07 -06:00
Tim Schaub
42970915ea Extract nodata values from metadata when possible 2021-08-19 10:40:59 -06:00
Andreas Hocevar
814d70b1cc Add more tests 2021-08-18 17:54:48 +02:00