Commit Graph

13518 Commits

Author SHA1 Message Date
mike-000
cb77784d2a also restore collapsed state to last user setting 2020-09-30 10:36:53 +01:00
Maximilian Krög
6a5c3bde62 Do not insert more than one point per geometry at once 2020-09-29 10:52:35 +02:00
Maximilian Krög
edb3b5f4fd The vertex is always the same, no need to store it with the segment 2020-09-29 10:52:35 +02:00
mike-000
09a1dd43c6 reset to collapsible when no uncollapsible sources 2020-09-28 14:05:23 +01:00
Andreas Hocevar
4c8de423af Remove context references when releasing tiles 2020-09-28 12:20:07 +02:00
Maximilian Krög
65fc3ca2ca Improved performance when removing feature with only one Select 2020-09-28 01:00:07 +02:00
Andreas Hocevar
8e862766fc New decluttering implementation 2020-09-27 21:13:26 +02:00
Stéphane Brunner
23e5c7ced8 Export all the Event sub class
Actually only some are exported

This is useful to type the received events
2020-09-25 13:15:49 +02:00
Tim Schaub
1dae9b0ea2 Merge pull request #11568 from rgroothuijsen/OL-11178
Fix raster source crash bug when using multiple threads
2020-09-18 21:44:29 -06:00
Andreas Hocevar
7a5e0db59f Remove decluttering for a fresh start 2020-09-18 23:31:20 +02:00
Maximilian Krög
0996b37fe7 Fix end world calculation if projection is not symmetric 2020-09-17 00:12:15 +02:00
Rens Groothuijsen
a691b1205e Send correct buffer slices to worker 2020-09-16 01:04:16 +02:00
Maximilian Krög
fbcf0b5009 Constrain resolution when fit called without duration 2020-09-15 17:52:22 +02:00
Maximilian Krög
85499d7daf Only draw visible worlds 2020-09-14 23:41:04 +02:00
Andreas Hocevar
beefeaad1a Merge pull request #11519 from MoonE/multipoint-draw-only-visible
Do not draw multipoints outside render extent
2020-09-13 12:03:21 +02:00
Maximilian Krög
66ca8fbc13 Fix error when text placement is 'line' for point geometry 2020-09-12 21:30:28 +02:00
Maximilian Krög
fd28d5bb3d Simplify method signature for appendFlatPointCoordinates 2020-09-12 20:54:53 +02:00
Maximilian Krög
9ca9e73374 Declare variable when used 2020-09-12 20:54:53 +02:00
Maximilian Krög
df81f53eb5 Some simplifications 2020-09-12 20:54:53 +02:00
Andreas Hocevar
cd017ec2f6 Merge pull request #11532 from ahocevar/tilegrid-docs
Make TileGrid behave as documented with extent and sizes options
2020-09-12 20:14:45 +02:00
Maximilian Krög
3e4e21dc8d Only check if point is in extent for MultiPoint and TextLabels 2020-09-12 18:23:24 +02:00
Maximilian Krög
fb62e7928e Rename method used for lines. 2020-09-11 23:53:59 +02:00
Frédéric Junod
6b0471c2dc Merge pull request #11545 from fredj/webgl_className
Use the className param in ol.layer.Heatmap
2020-09-11 10:00:30 +02:00
Andreas Hocevar
f145082966 Merge pull request #11548 from ahocevar/bind-tileurlfunction
Bind tileUrlFunction before returning it from getTileUrlFunction
2020-09-11 09:43:07 +02:00
Andreas Hocevar
7957abd72d Merge pull request #11549 from ahocevar/no-root-node
Only use elementFromPoint with ShadowRoot
2020-09-11 09:41:52 +02:00
Frederic Junod
142fbc0811 Use the className param in ol.layer.Heatmap 2020-09-11 08:23:15 +02:00
Andreas Hocevar
fcf6072061 Merge pull request #11502 from jbelien/wmscapabilities/singlelayer
Fix issue with WMS Capabilities containing a single layer
2020-09-10 19:27:18 +02:00
Andreas Hocevar
feb88d1c0d Merge pull request #11540 from gberaudo/avoid_mvt_reprojection
Avoid unnecessary transform in the MVT format
2020-09-10 19:18:33 +02:00
Guillaume Beraudo
39fc6d7816 Avoid unnecessary transform in MVT format
When using ol.render.Feature there was a mandatory geometry transform.

With this change it is now easy to read features directly in the native tile projection.
Since there is no needed transform, there is no need either to define an extent and a world extent, for that use-case.
2020-09-10 17:13:30 +02:00
Andreas Hocevar
869206b33d Only use elementFromPoint with ShadowRoot 2020-09-10 11:22:33 +02:00
Andreas Hocevar
bff25f9ba4 Bind tileUrlFunction before returning it from getTileUrlFunction 2020-09-10 10:10:52 +02:00
Andreas Hocevar
0ec6674465 Merge pull request #11537 from mike-000/patch-16
Add rotation and rotateWithView to ol/style/Circle clone method and options
2020-09-09 18:00:08 +02:00
Andreas Hocevar
5b69af64e8 Merge pull request #11543 from sweco-dkjesh/main
wmts matrixset null pointer fix and improved handling of Identifier
2020-09-09 17:51:33 +02:00
Andreas Hocevar
0f8c8af833 Make TileGrid behave as documented with extent and sizes options 2020-09-09 16:07:33 +02:00
sweco-dkjesh
df8da1158f Lint 2020-09-09 13:30:14 +02:00
sweco-dkjesh
d409168940 Lint 2020-09-09 13:22:38 +02:00
sweco-dkjesh
bf86bcbee4 Lint 2020-09-09 13:13:58 +02:00
sweco-dkjesh
6ae62c3e93 Lint 2020-09-09 12:49:04 +02:00
sweco-dkjesh
132ce172ed null pointer fix and improved handling of Identifier
Fix nullpointer error when a matrixSet is not found in the matrixsetobj when matrix limits exist.
Also check for match by prepending matrixSetObj.Identifier which is supported by some wmts services.
2020-09-09 12:29:43 +02:00
Andreas Hocevar
915bca5114 Merge pull request #11509 from fgravin/proj-4326-identifier
Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier
2020-09-09 10:22:34 +02:00
Florent gravin
5d8aa85caa Use regexp replacements in ol.proj.get
This avoids to have to many redundant identifier definitions for each projection and ensure to cover most of the existing srsNames
2020-09-08 17:33:07 +02:00
mike-000
685040347b Add rotation and rotateWithView
Add rotation and rotateWithView to options and clone

Add rotation and rotateWithView to clone test
Also check that scale and displacement arrays are cloned
2020-09-08 16:23:45 +01:00
Andreas Hocevar
3d5f375d52 Merge pull request #11521 from ahocevar/integer-pixel-ratio-only
Do not use fractional pixel ratio for rendering vector tiles
2020-09-07 12:40:01 +02:00
Andreas Hocevar
3c7fa9a586 Do not use fractional pixel ratio for rendering vector tiles 2020-09-06 17:08:13 +02:00
Andreas Hocevar
a9e51d85ec Fix Index adjustment at the beginning of the ring 2020-09-05 16:21:01 +02:00
Andreas Hocevar
f2b790adf1 Make clockwise check work when coordinates are duplicated 2020-09-04 20:47:15 +02:00
Florent gravin
8eb5ac900d Add urn:x-ogc:def:crs:EPSG:6.6:4326 as WGS84 proj identifier 2020-09-03 15:42:56 +02:00
Jonathan Beliën
eec4b46ac1 Update WMSCapabilities.js 2020-09-01 12:06:22 +00:00
Jonathan Beliën
9a021c8aa4 Update WMSCapabilities.js
Fix issue when there only one single layer.
2020-09-01 11:53:11 +00:00
mike-000
0807b44722 Clear this.canvas_ whenever render() is called 2020-09-01 09:27:17 +01:00