Commit Graph

3733 Commits

Author SHA1 Message Date
MoonE
f276f3f47f Merge pull request #13907 from MoonE/remove-ms-image-smoothing-enabled
Remove IE fallbacks
2022-07-30 23:58:55 +02:00
Maximilian Krög
d747216180 Fix editing of export-map example on codesandbox 2022-07-30 23:27:21 +02:00
Maximilian Krög
4c13ef13c9 Remove textContent fallback for IE 2022-07-30 23:06:59 +02:00
Maximilian Krög
e0fd784c16 Remove msSaveBlob fallback for IE 2022-07-30 22:58:47 +02:00
Maximilian Krög
e56bda5848 Remove IE css fallback 2022-07-30 22:57:51 +02:00
Tim Schaub
ab48290bd7 Accept an object literal for static layer styling 2022-07-30 09:48:10 -06:00
Andreas Hocevar
3c5403259a Merge pull request #13880 from ahocevar/reproj-tiles
Improve reprojection WMS config for better performance
2022-07-28 21:54:22 +02:00
Tim Schaub
c9b2b3d76a Remove unused worker 2022-07-27 15:51:34 -06:00
Andreas Hocevar
8acc4aa20e Improve reprojection WMS config for better performance 2022-07-27 14:47:24 +02:00
Andreas Hocevar
1e15daa354 Use vite instead of parcel 2022-07-26 22:00:09 +02:00
Andreas Hocevar
b5afd06edf Also look for example dependencies in dependencies 2022-07-26 18:29:16 +02:00
Andreas Hocevar
392ca5706d More forgiving import regex 2022-07-26 18:28:06 +02:00
Maximilian Krög
2897f03ea5 Remove deprecated method PluggableMap#forEachLayerAtPixel 2022-07-26 00:57:21 +02:00
Tim Schaub
8aa8684d81 Unused element and class name 2022-07-21 14:30:32 -07:00
Tim Schaub
01f3536d29 Using a union type instead of a string enum 2022-07-21 14:08:16 -07:00
Tim Schaub
7e424be66b Only pass the feature to the attribute getter 2022-07-21 13:49:06 -07:00
Tim Schaub
bd9e73a534 Renaming fill and stroke attributes and shaders 2022-07-21 13:30:22 -07:00
Olivier Guyot
52279967c4 WebGL / Reorganize VectorLayerRenderer options, update example
Now different attributes can be provided for each type of geometry.

Also updated the example to accomodate for this and use the default shaders.
2022-07-15 22:33:52 +02:00
Olivier Guyot
f603ce7456 WebGL / Support DPR > 1 in linestring shader
A u_pixelRatio uniform was added to be used in the shaders. this is necessary
since we're relying on the builtin gl_FragCoord vector, which will be scaled
relative to the u_sizePx uniform in case of a device pixel ratio != 1.

Also added tests for computed uniform values, instead of just testing
that they were indeed set.
2022-07-15 22:33:52 +02:00
Olivier Guyot
7d2b1a9f48 Make the newWebGL vector example experimental
And do not mention hit detection for now
2022-07-15 22:33:52 +02:00
Olivier Guyot
979dfd3a55 Add an example for the new webgl vector layer
This example accomodates for hit detection whih is not functional yet.
2022-07-15 22:33:52 +02:00
Tim Schaub
04ad0e0c5a Additional uses of new source state type 2022-07-15 10:46:44 +02:00
Andreas Hocevar
60f09fcc45 Merge pull request #13817 from jipexu/main
remove XYZ-ESRI -4326-512 example
2022-07-07 18:23:10 +02:00
mike-000
4b54efdd4c Remove example 2022-07-07 15:51:34 +01:00
jipexu
b5bdacaa6a Delete xyz-esri-4326-512.js
#13782
2022-07-07 13:28:43 +02:00
jipexu
a2722ce663 Delete xyz-esri-4326-512.html
#13782
2022-07-07 13:27:52 +02:00
Duck
c182bbf66b Show an example of changing the color with setfill 2022-06-23 06:01:11 -07:00
jipexu
ea1da4e680 d3 update version 2022-06-21 22:53:03 +02:00
jipexu
68940036b7 d3 version update 2022-06-21 17:43:47 +02:00
Matthias Mohr
c2fc1f85bf Load GeoTiff from Blob #13189 #13703 2022-06-01 23:49:01 +02:00
Maximilian Krög
8d8f4fd961 Improve icon-sprite-webgl example code
Should load slightly faster now by adding the source only after all
features are available, this avoids dispatching the addfeature event
for each of the 80000 features.
Use webgl tile layer for the background so the canvas can be shared
between both layers.
2022-05-26 20:30:24 +02:00
Maximilian Krög
03f3e619f2 Update ufo example data
Downloaded a newer version of the data from
https://www.kaggle.com/datasets/NUFORC/ufo-sightings?select=scrubbed.csv
and fixed the remaining errors in it.
2022-05-26 20:11:40 +02:00
Tim Schaub
cf7daf36d6 Include layer visibility in the URL 2022-05-21 10:50:45 -06:00
Tim Schaub
6690dc99dd Link interaction 2022-05-21 10:50:38 -06:00
Maximilian Krög
72d61f887d Use document.head instead of getElementByTagName 2022-05-15 21:34:26 +02:00
arkadiusz.gotfryd
6bbd9a1dd4 Fix for codesandbox.io env (code review change) 2022-05-09 21:16:46 +02:00
arkadiusz.gotfryd
77cd464a7b Add module type to main.js script tag 2022-05-08 23:25:51 +02:00
arkadiusz.gotfryd
864e9e5c5f Fix for parcel error while building examples 2022-05-08 22:54:22 +02:00
Andreas Hocevar
16325f069c Merge pull request #13568 from mike-000/osmdata-attribution
Update OSM Vector Tiles attribution
2022-04-22 08:38:31 +02:00
Andreas Hocevar
d315675ecc Merge pull request #13528 from burleight/webglpointslayer-wrap-x
WebGLPointsLayer wrapX support - partially addressing #11131
2022-04-17 17:34:01 +02:00
Andreas Hocevar
e8f151543d Simplify/beautify example 2022-04-15 13:13:39 +02:00
Denis
585ae66961 Fix review for text justify 2022-04-14 13:06:49 +02:00
Denis
1850e16bde Improve jsDoc and some naming 2022-04-13 14:11:28 +02:00
Denis
c45a443cf5 Add example for justify text 2022-04-13 00:08:15 +02:00
mike-000
439dc76065 update attribution 2022-04-12 17:52:09 +01:00
Andreas Hocevar
5651520dcd Merge pull request #13496 from mike-000/projection-scale
Improve Projection and Scale example calculations
2022-04-11 21:47:41 +02:00
Andreas Hocevar
ffee2f727e Updates and example improvements for ol-mapbox-style v8 2022-04-10 21:41:00 +02:00
mike-000
d2fc5caa21 do not add second interaction 2022-04-09 13:06:32 +01:00
Tomas Burleigh
d524d46969 WebGLPointsLayer wrapX support - partially addressing #11131
WebGLPointsLayer renderFrame and renderHitDetection will now draw
multiple worlds if the source and projection support wrapX.

Hit detection needs additional improvement. It stops working after
more than one wrap around the world. If 0 is the middle world, then
the hit detection works for worlds -1, 0, and -1, but not for worlds
> 2 or < -2.

The example has hit detection enabled, demonstrated with a colour
change on hover for the circle styles. When moving the mouse, the hit
detection is unreliable and flickers on/off. This needs improvement.

The webgl-points renderer test has been updated.
2022-04-01 13:35:13 +13:00
mike-000
c926980339 Include mpu in point resolution calculations 2022-03-22 15:26:44 +00:00