Maximilian Krög
7404397529
Improve example-builder code
...
Reduce amount of async calls and some other small changes
2022-08-08 22:13:48 +02:00
Jakob Miksch
0cd5ecdfde
Minor simplification
2022-08-08 15:29:20 +02:00
mike-000
94caeeab12
Set background after applying transform
...
Reset transform in addition to globalAlpha
2022-08-08 10:23:01 +01:00
mike-000
e6b8fed64a
Reset transform in addition to globalAlpha
2022-08-08 10:05:36 +01:00
MoonE
ef09482505
Merge pull request #13943 from MoonE/scaleline
...
Scaleline
2022-08-07 23:52:26 +02:00
Maximilian Krög
03a16e3444
Use a range input to select the number of steps (1 to 8)
2022-08-07 00:45:14 +02:00
Maximilian Krög
436a4ca597
Add color invert option to scale-line example
2022-08-07 00:44:31 +02:00
Maximilian Krög
e10432260f
Cleanup scale-line example
2022-08-07 00:43:06 +02:00
Maximilian Krög
4504f139af
Improve loading of kmz file example
...
- The href will always start with path as it is sliced starting from 0
Not sure if it is possible that window locatin does not have a slash
unless its some about:-page.
- Should be possible to query for the file name directly without regex,
if the filename contains special regex characters it may behave
unexpectedly
2022-08-06 21:59:08 +02:00
Maximilian Krög
403b06b438
Use RegExp#test intead of String#match
2022-08-05 01:49:16 +02:00
Maximilian Krög
bb3c5bf144
Use String#startsWith instead of String#indexOf
2022-08-05 01:49:16 +02:00
Maximilian Krög
0b945f2321
Use includes instead of indexOf
2022-08-05 01:49:01 +02:00
Maximilian Krög
5e34b9aa20
Fix print-to-scale ignore collapsible attribution
2022-08-05 01:32:50 +02:00
mike-000
4eacc92f7f
remove range change event
2022-08-03 17:14:43 +01:00
Tim Schaub
21223d7096
Updated map background
2022-08-01 17:16:29 -06:00
Tim Schaub
6bd68241e3
Include babel for codesandbox
2022-08-01 12:04:39 -06:00
Tim Schaub
973c411082
Merge pull request #13917 from tschaub/doc-style
...
Style updates for examples and API docs
2022-08-01 05:44:13 -06:00
Tim Schaub
1bd9201fed
Style updates for examples and API docs
2022-07-31 19:07:46 -06:00
Tim Schaub
644337184c
Remove Google Analytics and cookie consent
2022-07-31 13:47:03 -06:00
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