Commit Graph

3408 Commits

Author SHA1 Message Date
Andreas Hocevar 9af1e223af More tests and docs for extent and coordinate wrapX 2020-03-31 16:11:06 +02:00
Andreas Hocevar cdafc4fa05 Add approximatelyEquals function for comparing extents 2020-03-31 16:11:06 +02:00
Andreas Hocevar 098885a006 New wrapX functions for coordinate and extent 2020-03-31 16:03:12 +02:00
Andreas Hocevar a35794ae97 Load two extents for views that cross the date line 2020-03-31 16:03:12 +02:00
Andreas Hocevar 190cd202a1 Always use load extent with real world center 2020-03-31 16:03:11 +02:00
mike-000 0c9324f398 Test extents passed to loader 2020-03-31 16:03:10 +02:00
mike-000 67c37c2163 Test extents passed to loader 2020-03-31 16:03:10 +02:00
Andreas Hocevar 0a7f7db817 Merge pull request #10795 from mike-000/patch-6
Show graticule labels in wrapped worlds
2020-03-28 14:46:54 +01:00
Andreas Hocevar 0366bca7c1 Merge pull request #10822 from lysek/master
parsing color from IconStyle in KML files
2020-03-27 11:31:49 +01:00
Andreas Hocevar 2d8782b1da Merge pull request #9590 from mloskot/ml/wmts-augment-tms-extent
Calculate tile grid extent from extent of bottom-level tile matrix
2020-03-26 23:23:54 +01:00
Szabo Bogdan 6aa398cbec Fix hit detection for images with missing size 2020-03-26 21:23:23 +01:00
Szabo Bogdan fbe7b0bd78 Fix test typo 2020-03-26 21:22:08 +01:00
Mateusz Łoskot 98e8bec370 Calculate tile grid extent from extent of bottom-level tile matrix
Prefers extent derived from the tile matrix set in the capabilities
over default projection extent.
2020-03-26 19:17:32 +01:00
Jiri Lysek 2b6e767840 encoding color into KML 2020-03-23 10:10:12 +01:00
Jiri Lysek d5b3d27e62 parsing color from IconStyle in KML files 2020-03-19 13:02:53 +01:00
mike-000 4ca966bd92 show labels in wrapped worlds
test labels in wrapped world
2020-03-11 16:06:31 +00:00
Andreas Hocevar f448d7179a Merge pull request #10785 from ahocevar/zoomify-retina
Detect Zoomify server-side retina tiles
2020-03-11 11:05:57 +01:00
Andreas Hocevar 5e51e397bb Merge pull request #10786 from ahocevar/resolve-contraints-on-updatesize
Resolve constraints when updating size
2020-03-10 13:05:29 +01:00
Andreas Hocevar c5fd013e31 Resolve constraints when updating size 2020-03-09 16:20:21 +01:00
Andreas Hocevar 686b4dbdc8 Merge pull request #10723 from mike-000/patch-6
Improve the extent transforms used by Graticule and handle extents crossing the dateline
2020-03-09 15:26:52 +01:00
Andreas Hocevar ad476f6086 Detect Zoomify server-side retina tiles 2020-03-09 15:22:43 +01:00
Olivier Guyot 29387a2cbb Merge pull request #10758 from jahow/webgl-rotation-fix-attribute
Allow using feature attributes for symbol rotation in WebGL layers
2020-03-03 12:55:25 +01:00
Olivier Guyot 40d44db85e Shader Builder / use vertex context to parse the symbol rotation expression
Previously the expression was parsed in the fragment shader context, which
meant in case the expression used an attributes the resulting GLSL code
would be wrong.

Fragment shader context:
`float angle = v_heading; // we're using the varying: not OK`

Vertex shader context:
`float angle = a_heading; // we're using the attribute: OK`
2020-03-03 10:09:39 +01:00
Andreas Hocevar 0fd336daa5 Merge pull request #10743 from ahocevar/ignore-cache-size-when-too-small
Ignore user provided tile cache size when too small
2020-02-27 14:52:33 +01:00
Andreas Hocevar a072e3acea Ignore user provided tile cache size when too small 2020-02-27 13:41:21 +01:00
mike-000 ac2b58c554 test using extra stops for extent transform
correct coordinate order
2020-02-27 12:19:31 +00:00
mike-000 633396e7df test using extra stops for extent transform 2020-02-27 12:12:57 +00:00
Maximilian Kroeg b25fc6741e Add tests for ol/source/Cluster~Cluster#setSource 2020-02-25 11:15:56 +01:00
mike-000 59142f800c Draw labels in a postrender function 2020-02-20 15:50:10 +00:00
mike-000 bc2c49165e Draw labels in a postrender function 2020-02-20 15:39:08 +00:00
mike-000 00275f1a67 Draw labels in a postrender function 2020-02-20 15:25:32 +00:00
mike-000 3558dbe235 Draw labels in a postrender function 2020-02-20 14:43:48 +00:00
Augustus Kling da7f51c085 Get default projection for overview map from main map.
Changes OverviewMap such that it will use whatever projection the
hosting map is using unless a view was specified explicitly.

Fixes #2998 #5188 #10670
2020-02-19 23:10:15 +01:00
Maximilian Krög 6f18350eda Add regression test for image opacity 2020-02-18 16:30:38 +01:00
Andreas Hocevar 5ea0b52ba8 Merge pull request #10691 from ahocevar/hitdetect-color-range
Do not exceed color range
2020-02-18 10:04:00 +01:00
Andreas Hocevar 07b02fe947 Do not exceed color range 2020-02-17 21:58:45 +01:00
Andreas Hocevar 8f9552e78c Merge pull request #10678 from mike-000/patch-7
Add maxResolution option to ol/tilegrid.createXYZ() and ol/source/XYZ
2020-02-17 19:54:55 +01:00
mike-000 1416e30127 Add maxResolution option to createXYZ()
include maxResolution in options test
2020-02-17 18:20:50 +00:00
Andreas Hocevar eebb2cb9ae Merge pull request #10672 from ahocevar/mousewheel
Nicer mousewheel and trackpad zooming
2020-02-17 18:27:03 +01:00
Frederic Junod 09689e547c Increase timeout in listenImage test
Fixes failing test with Chrome 80 on Windows 10
2020-02-17 13:27:23 +01:00
Andreas Hocevar f3ce8e23b4 Fractional zoom changes in WHEEL mode 2020-02-15 13:53:14 +01:00
Andreas Hocevar ea5c91e19e Revert "Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch"
This reverts commit 35569a8427, reversing
changes made to 29a434314b.
2020-02-14 11:46:57 +01:00
Thomas Chandelle 33a8466913 Add API method abortDrawing and dispatch a DRAWABORT event 2020-02-13 17:22:39 +01:00
Andreas Hocevar bb68da2a0a Merge pull request #10613 from mike-000/patch-1
Show KML name labels for Points in MultiGeometry
2020-02-11 15:08:51 +01:00
Otto Pellinen 0b3bd0721e Add dedicated tests for appendCoordinates 2020-02-10 16:48:12 +01:00
Andreas Hocevar 35569a8427 Merge pull request #9565 from dbrnz/v6.0.0-beta.7-branch
Make mousewheel zoom behave like trackpad zoom.
2020-02-06 15:54:34 +01:00
mike-000 47a4a63e3e Test name labels for points in MultiGeometry 2020-02-05 23:51:48 +00:00
mike-000 0fb4b62b9b Test name labels for points in MultiGeometry 2020-02-05 23:26:11 +00:00
Andreas Hocevar 29a434314b Merge pull request #10580 from mike-000/patch-7
Fix KML Polystyle outline 0 conflict with Linestyle for linestrings
2020-02-05 23:22:52 +01:00
Andreas Hocevar cc21f92bdb Restore test coverage, fix tests 2020-02-05 13:03:21 +01:00