Geert Premereur
10c7f08fa4
Select style multiple select interactions removed
...
This fixes issue 10486 by removing the event listeners when an
interaction is removed from a map.
2020-04-02 20:00:37 +02:00
Tim Schaub
c196f2f7b0
Merge pull request #10531 from pjsg/fix_image_reproj
...
Dynamically chose the number of subdivisions based on the size of the Image to reproject
2020-04-02 11:50:30 -06:00
Tim Schaub
b4e51ed841
Merge pull request #10343 from mike-000/patch-10
...
Correct interactions with circle geometries when using user coordinates
2020-04-02 11:06:48 -06:00
philip
72907566bb
Add comment to explain calculation.
2020-04-02 14:14:13 +00:00
Andreas Hocevar
5e8102bbd1
Merge pull request #10850 from ahocevar/enum-docs
...
API docs for enums
2020-04-01 11:47:55 +02:00
Edward Nash
2b863793d0
Perform auto-pan when adding an Overlay to a Map
...
* Auto-pan settings currently only activate when the position of the
Overlay is set and the Overlay is already on a Map.
* The consequence of this is that creating an Overlay with position
set and then adding to a Map results in no auto-pan being performed -
it is necessary to first create the Overlay, then add to a Map and
finally set the position in order for the Map to auto-pan.
* This commit changes this behaviour so that the auto-pan settings are
also considered when the map property of the Overlay is set and not
only when the position property is set, leading to a more intuitive
behaviour.
* Fixes Issue #10843
2020-04-01 06:50:01 +02:00
Andreas Hocevar
2401e0af00
Merge pull request #10646 from mike-000/patch-1
...
Write fill and outline in KML PolyStyle
2020-03-31 23:22:15 +02:00
Andreas Hocevar
f66b44068c
Merge pull request #10800 from ejn/overlay-pan-into-view-10741
...
Make Overlay.panIntoView an API method
2020-03-31 23:19:38 +02:00
mike-000
bfca3cf713
change loader check back to equal extents
2020-03-31 17:00:12 +01:00
mike-000
929b9f4068
change loader check back to equal extents
2020-03-31 16:55:23 +01:00
mike-000
149ca7efad
return previous extent if extents are approx equal
2020-03-31 16:26:30 +01:00
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
mike-000
2c7f58dbed
remove unused import
2020-03-31 16:03:14 +02:00
mike-000
6013763480
replace containsExtent with equals in strategy
2020-03-31 16:03:14 +02:00
mike-000
99a1641afe
remove duplication
2020-03-31 16:03:13 +02:00
mike-000
e3ad05f805
Include center at right edge in calculations
2020-03-31 16:03:13 +02:00
mike-000
660845f5b8
Include center at right edge in calculations
2020-03-31 16:03:13 +02:00
Andreas Hocevar
098885a006
New wrapX functions for coordinate and extent
2020-03-31 16:03:12 +02:00
mike-000
48b79cf7d1
only use one extent if two are passed
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
mike-000
3d8495742b
Simplify following renderer changes
2020-03-31 16:03:11 +02:00
Andreas Hocevar
190cd202a1
Always use load extent with real world center
2020-03-31 16:03:11 +02:00
mike-000
3b760dc308
Use getLoadWrapX() to determine extent to load
2020-03-31 16:03:10 +02:00
mike-000
b560dab513
Set loadWrapX: false in source
2020-03-31 16:03:09 +02:00
mike-000
f6bbf414a8
Add loadWrapX option and getter
2020-03-31 16:03:09 +02:00
mike-000
f6ede1a9c0
handle wrapX without calculating excess meridians
...
override extent validation only if the extent includes parts of two worlds
2020-03-31 16:03:08 +02:00
mike-000
516a75ae22
Always load frameState extent for graticule layers
...
reorder and comment
2020-03-31 16:03:08 +02:00
mike-000
bad0ff38ca
handle wrapX without calculating excess meridians
...
avoid calculating more meridians or longer parallels than necessary when viewport extent includes a wrapped world
2020-03-31 16:03:08 +02:00
mike-000
772741cd0e
Always load frameState extent for graticule layers
...
do not call graticule loader with wrapped projection extent
2020-03-31 16:03:06 +02:00
Edward Nash
2537da690a
Add check that Position is set in panIntoView()
...
* If panIntoView is an API method, it may now be called when the
position of the overlay has not yet been set.
* Adds a check for a set position to the panIntoView() method,
and removes the now unneccessary check in handlePositionChanged()
2020-03-30 07:15:03 +02:00
Edward Nash
b1b01cf943
Allow pan options supplied as autoPan
...
* Follow the suggestion from @ahocevar to use the existing
autoPan constructor option instead of creating a new autoPanOptions
option
* Internally also store the autoPanOptions in autoPan
2020-03-30 07:12:52 +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
b39e12406a
Merge pull request #10824 from MoonE/icon-color-ie11
...
Fix drawing svg icon with color option in ie11
2020-03-28 14:26:10 +01:00
Andreas Hocevar
a6a5b72c57
Only mark items as api, not enums
2020-03-27 12:33:54 +01:00
Maximilian Krög
1020c384bb
Fix two missing apidoc links
...
Add IconAnchorUnits and IconOrigin to the api.
2020-03-27 12:33:54 +01:00
Andreas Hocevar
f24ecf7b2c
Merge pull request #10805 from regileeso/master
...
make ImageSourceEventType available for consumers
2020-03-27 11:35:30 +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
horsenit
03ea8911f6
Fix type checking for IE9 style.msTransform
2020-03-27 03:03:21 -04:00
horsenit
83a5cd63c6
Speed up Overlay element positioning using CSS translate()
2020-03-27 02:26:01 -04: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
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
Andreas Hocevar
30ac91c4ae
Simpler feature check
2020-03-23 12:47:25 +01:00
Andreas Hocevar
3f7f999db0
Avoid try/catch, DOM and workers
2020-03-23 12:46:24 +01:00
Andreas Hocevar
6dcc54bfb8
'action' instead of 'type' as message identifier
2020-03-23 12:46:24 +01:00
Andreas Hocevar
06f6ba13c8
Make font loading work in workers
2020-03-23 12:46:22 +01:00
Andreas Hocevar
bb1ca76bcc
Make Executor work in workers
2020-03-23 12:46:22 +01:00
Andreas Hocevar
56edbb2d73
Make createTransformToString a standalone function
2020-03-23 12:46:21 +01:00
Andreas Hocevar
8b76f52652
Make createTransformString work in non-window context
2020-03-23 12:46:20 +01:00