Commit Graph

13192 Commits

Author SHA1 Message Date
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
Langbein, Michael a70ce2ca06 Implement preRender and postRender methods for WebGLLayerRenderer
This is required so that Renderers like WebGLPointsLayerRenderer can fire prerender and postrender events.
Problem described in [issue 11463](https://github.com/openlayers/openlayers/issues/11463).
2020-08-30 13:20:18 +02:00
mike-000 f897503e10 Cosmetic fix to doc (missing closing quote) 2020-08-28 22:27:33 +01:00
mike-000 598f2bb508 Add iconUrlFunction option
Test iconUrlFunction option

remove @private
2020-08-28 22:12:58 +01:00
davidiamaf ce0d744a10 guard for null
against map.getPixelFromCoordinateInternal() returning null

Per https://github.com/openlayers/openlayers/issues/11478
2020-08-27 16:15:09 -04:00
Michał Zielański 0001292a62 Method that copies properties from another object moved to the BaseObject class. Not using getProperties() to avoid creating an intermediate object that is not used later 2020-08-27 09:18:08 +02:00
Michał Zielański 8e0a61ac5f Adding original properties to cloned geometry 2020-08-26 15:11:11 +02:00
Andreas Hocevar 963a084eb4 Merge pull request #11474 from haasz/haasz-module-import-fix
fix: modify rbush package import
2020-08-25 14:12:35 +02:00
Haász Sándor 02e0b1af11 fix: modify rbush package import 2020-08-25 13:27:48 +02:00
Andreas Hocevar fda93cee23 Updates for TypeScript v4 2020-08-25 13:03:58 +02:00
Andreas Hocevar 6f0eec632f Use existing check for assertion 2020-08-23 18:23:52 +02:00
Andreas Hocevar 792e15124d VectorTile source projection has to match the view projection 2020-08-23 12:37:52 +02:00
Andreas Hocevar c55a3132a4 Checks before calling handleEvent on interactions 2020-08-18 15:39:53 +02:00
Andreas Hocevar aa6d6b4d80 Merge pull request #11305 from megawac/avoid-crash-when-interaction-removed
PluggableMap: avoid crash when multiple interactions are removed
2020-08-18 13:21:47 +02:00
Frédéric Junod 702a8c0e34 Merge pull request #11433 from fredj/f_11432
Fix typo in module name
2020-08-17 11:42:48 +02:00
Tim Schaub 3c58b25670 Merge pull request #11419 from bjornharrtell/wfs2
WFS 2.0.0 support
2020-08-13 05:07:53 -06:00
Frederic Junod e932233103 Fix typo in module name 2020-08-13 10:48:00 +02:00
Andreas Hocevar f0170f378f Merge pull request #11418 from MoonE/icon-color-default-to-composite-operation
Icon color default to composite operation
2020-08-11 20:57:40 +02:00
Björn Harrtell 4eef96d5d8 Fix docs 2020-08-11 16:30:29 +02:00
Björn Harrtell 1335937ddd Verified fix 2020-08-11 16:09:43 +02:00
Björn Harrtell 0484e45c89 Fix WFS 2.0.0 GetFeature response parsing 2020-08-11 15:46:40 +02:00
Björn Harrtell 01f355c37f Verify GetFeature with more complex filter 2020-08-10 21:30:06 +02:00
Graeme Yeates d7a8e45294 PluggableMap: avoid crash when multiple interactions are removed 2020-08-10 10:32:51 -04:00
Andreas Hocevar 49a3f9ff58 Merge pull request #11413 from mike-000/patch-12
Include scale option in RegularShape and Circle style constructors
2020-08-10 09:44:08 +02:00