Commit Graph

3806 Commits

Author SHA1 Message Date
Andreas Hocevar
45f367cc04 Merge pull request #11856 from mike-000/patch-18
Use tilegrid extent as default attributionExtent for TileJSON
2021-01-15 14:35:20 +01:00
mike-000
50c99330e9 test null geometry 2021-01-14 11:25:07 +00:00
Andreas Hocevar
58f533315d Merge pull request #11893 from mjjurkoic/issue-11860
Pass the renderer function to the cloned style
2021-01-13 09:48:13 +01:00
Michael Jurkoic
94fcc049ce Improved renderer clone tests
Removed test that asserted the cloned renderer would not reference the same object as the original.

Replaced tests that stringified the renderer function with tests that compare the original with the clone by reference.
2021-01-10 10:10:09 -08:00
Michael Jurkoic
760b5970f1 Added tests for renderer clone 2021-01-08 16:23:04 -08:00
Tim Schaub
448d939681 Merge pull request #11890 from walkermatt/wfs_filter_version
Fix WFS writeFilter
2021-01-08 17:13:57 -07:00
Andreas Hocevar
99dd55920e Restore stopClick functionality 2021-01-07 22:34:21 +01:00
Matt Walker
aef876aaf9 Fix prettier errors 2021-01-07 09:24:14 +00:00
Matt Walker
28f76ed901 Make writeFilter version argument optional
* Add test for optional version argument to writeFilter
* Default to WFS 1.1.0 if no version passed to writeFilter
2021-01-07 08:51:11 +00:00
Matt Walker
de9d681b2f Fix WFS 2.0.0 writeFilter
* Add a test for WFS 2.0.0 filter encoding
* Use getFilterNS to ensure correct NS for filter child node
2021-01-07 08:47:18 +00:00
Tim Schaub
afd0b8f757 Throw an error if shaders fail to compile or program fails to link 2021-01-05 17:24:58 -07:00
Tim Schaub
aed4773ecb Hit lines even if they are dashed 2020-12-30 12:33:06 -07:00
mike-000
13e1ae9574 Use tilegrid extent as default attributionExtent
Test attributions
2020-12-29 13:29:57 +00:00
Andreas Hocevar
49f03cf719 Merge pull request #11811 from mike-000/patch-6
Better getPointResolution default when no transform available
2020-12-13 22:33:09 +01:00
Andreas Hocevar
6c6b559ce4 Merge pull request #11817 from greggian/select-stop-propagation
stopPropagation support for PluggableMap
2020-12-10 16:15:25 +01:00
mike-000
51db8f9308 Test projections without transforms 2020-12-10 11:22:40 +00:00
mike-000
a9adb1850f Test projections without transforms 2020-12-10 11:18:46 +00:00
Greg Gianforcaro
99f23caf03 Initial stopPropagation support for PluggableMap 2020-12-09 00:46:56 -05:00
Andreas Hocevar
0286b1c737 Add regression test 2020-12-08 19:47:18 +01:00
Andreas Hocevar
ed3c45d3f8 Fix tolerance typo 2020-12-06 22:12:13 +01:00
Andreas Hocevar
b6eb429f77 Always drag using pointer location, not vertex location 2020-12-06 18:11:15 +01:00
Andreas Hocevar
128d20abf3 Simpler API with hitDetection option 2020-12-06 16:51:15 +01:00
Andreas Hocevar
9b31deb38f Simplify API and code 2020-12-06 16:51:14 +01:00
Andreas Hocevar
314724d880 Add geometries property to vertex feature 2020-12-06 16:51:14 +01:00
Andreas Hocevar
ec9dde88f9 Add features property to vertex feature 2020-12-06 16:51:14 +01:00
Andreas Hocevar
6874bfaaef Report features actually being modified, not all 2020-12-06 16:51:13 +01:00
Maximilian Krög
190b20ebce Add vertex insertion test for modify interaction 2020-12-06 15:43:14 +01:00
Maximilian Krög
23dc768c2e Order callback calls by distance to click position
All callback calls for hits with a tolerance > 0 are queued and
called ordered by distance after all hits are detected.
2020-12-01 23:21:59 +01:00
Maximilian Krög
c076d273e7 Cache hit detect indexes and check closest pixels first. 2020-12-01 20:19:58 +01:00
Andreas Hocevar
28aaa2e0d3 Pass geometry to forEachFeatureAtPixel callback 2020-11-27 13:43:28 +01:00
Andreas Hocevar
7b5f53753b Merge pull request #11753 from mike-000/patch-15
Use Mode.LINE_STRING in Draw interaction for Circle geometries
2020-11-25 13:47:17 +01:00
mike-000
f8df533cb0 Use Mode.LINE_STRING for Circle geometries
Make predefined geometry functions compatible with removeLastPoint
Add undo to example
Make geometry function for Star compatible with use of removeLastPoint
Additional createRegularPolygon tests
2020-11-24 10:39:28 +00:00
Andreas Hocevar
0e2d17b9c6 Add padding option for View 2020-11-22 18:52:46 +01:00
Andreas Hocevar
dd95f56e26 Merge pull request #11719 from ahocevar/less-aggressie-3857-clamping
Clamp EPSG:3857 y to lowest/highest possible value instead of validity extent
2020-11-19 13:51:47 +01:00
Andreas Hocevar
698fca2d56 Merge pull request #11737 from ahocevar/esrijson-wkid
Write the correct SRS code in EsriJSON
2020-11-19 13:50:56 +01:00
Andreas Hocevar
f054971bae Merge pull request #11739 from boeckMt/fix-layer-at-pixel-image
Fix: Check for layer extent in CanvasLayerRenderer.getDataAtPixel
2020-11-16 14:53:45 +01:00
Mathias Boeck
eb41939474 Add test for layer hit on cross-origin canvas 2020-11-16 14:17:06 +01:00
Benjamin Gerber
d807f13a93 Add featureTypesBbox option on WFS writeGetFeature
Add a possibility to provide one specific bbox per feature type
on WFS writeGetFeature. This option results to one query node
per featureTypesBbox item. One query node, for one feature type,
will have a specific bbox filter and every query node will share
the same others filters (if a filter option is defined).
2020-11-16 12:59:30 +01:00
Andreas Hocevar
bc8f0252a7 Add test for when neither dataProjection nor featureProjection are set 2020-11-12 11:34:26 +01:00
Andreas Hocevar
619fd4965b Write the correct SRS code in EsriJSON 2020-11-12 11:20:49 +01:00
mike-000
5d8212e48f Replace readURI with readStyleURL for StyleURLs
readStyleURL ensures URL begins with # if it does not contain one
Remove old partial fix
Test handling of missing # in StyleURL
2020-11-10 14:42:20 +00:00
mike-000
a6860118c7 Support formats that read ArrayBuffer sources
Drag-and-Drop support for formats that read arraybuffer sources
Add TextDecoder to polyfills
Add custom Drag-and-Drop examples for KMZ and MVT
Add sample download and KML styles option to existing example
Test arraybuffer and constructed formats
2020-11-09 17:02:31 +00:00
Andreas Hocevar
bdd343e87b Merge pull request #11721 from mike-000/patch-21
Handle empty Z coordinates in KML
2020-11-06 13:38:06 +01:00
Andreas Hocevar
946d11269f Merge pull request #11587 from MoonE/fix-text-along-path-orientation
Determine orientation by actual text start and end x
2020-11-06 13:35:55 +01:00
mike-000
6bc0bf8640 Test reading XY and empty Z coordinates 2020-11-06 10:32:39 +00:00
Maximilian Krög
b3968a4219 Change textpath tests to work with changed method / return. 2020-11-05 22:35:54 +01:00
Andreas Hocevar
9804dc8fa3 Clamp to lowest/highest possible value instead of validity extent 2020-11-05 21:51:05 +01:00
Andreas Hocevar
0ac52b2511 Merge pull request #11490 from mike-000/patch-13
iconUrlFunction option for ol/format/KML
2020-11-01 11:02:38 +01:00
Andreas Hocevar
b55d50d141 Merge pull request #11628 from simonseyock/vector-source-load-events
VectorSource load events
2020-10-27 19:42:45 +01:00
Simon Seyock
1bafab49f5 Added FEATURELOADSTART, FEATURELOADEND and FEATURELOADERROR events. 2020-10-25 21:38:57 +01:00