Commit Graph

28896 Commits

Author SHA1 Message Date
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
mike-000 1cd4d37c45 change option name to imageSmoothing 2020-04-02 18:44:07 +01:00
Tim Schaub 0034d6f206 Merge pull request #10618 from MoonE/apidoc-debug-task
Add apidoc-debug task to debug the apidoc generation process
2020-04-02 11:27:38 -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
mike-000 23fe5463fa use dom-to-image-more 2020-04-02 14:59:58 +01:00
mike-000 ab006abf25 use dom-to-image-more 2020-04-02 14:59:57 +01:00
mike-000 b56ca954d5 avoid classname conflict with example template 2020-04-02 14:59:55 +01:00
mike-000 e6658aec1e add domtoimage 2020-04-02 14:59:54 +01:00
mike-000 e2ac566c05 Correct resolution used for scale. Add dpi option.
Also add setDpi and setMinWidth methods

Add Print to scale example
2020-04-02 14:59:54 +01:00
Olivier Guyot 32321e381c View / avoid solving constraints related to map size change during anim 2020-04-02 14:22:47 +02:00
Andreas Hocevar 612910bcd2 Merge pull request #10864 from ahocevar/dependency-updates
Update dependencies
2020-04-02 14:12:55 +02:00
Andreas Hocevar 8e6b5ce0bf Update dependencies 2020-04-02 13:50:12 +02:00
Tim Schaub a073c5ab1e Merge pull request #10859 from SDaron/clipping-layer
Add an example of clipping layer based on a vector source
2020-04-01 03:59:58 -06:00
Andreas Hocevar 5e8102bbd1 Merge pull request #10850 from ahocevar/enum-docs
API docs for enums
2020-04-01 11:47:55 +02:00
Simon Daron 23c2e1062c Add an example of clipping layer based on a vector source 2020-04-01 10:08:37 +02:00
Andreas Hocevar 7dd42ef19f Key update 2020-04-01 09:07:07 +02:00
Andreas Hocevar 061ccb987b Key update 2020-04-01 08:43:52 +02:00
Andreas Hocevar 001128c98e Merge pull request #10857 from mike-000/patch-9
Make OSM XML example work at dateline and replace Bing with MapTiler
2020-04-01 08:33:34 +02:00
Andreas Hocevar 27169c2942 Merge pull request #10858 from ejn/overlay-autopan-on-set-map-10843
Perform auto-pan when adding an Overlay to a Map
2020-04-01 08:13:56 +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
mike-000 82dd764d13 Replace Bing layer with MapTiler 2020-03-31 22:37:51 +01:00
mike-000 7b55fe381e Replace Bing layer with MapTiler 2020-03-31 22:36:07 +01:00
mike-000 3c0ff15414 Cap Longitudes and replace Bing with MapTiler 2020-03-31 22:32:02 +01: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
Andreas Hocevar 25fcc6b604 Merge pull request #10855 from openlayers/dependabot/npm_and_yarn/rollup-2.3.0
Bump rollup from 2.1.0 to 2.3.0
2020-03-31 23:00:56 +02:00
Andreas Hocevar 820984d0eb Merge pull request #10854 from openlayers/dependabot/npm_and_yarn/ol-mapbox-style-6.1.1
Bump ol-mapbox-style from 6.1.0 to 6.1.1
2020-03-31 22:59:34 +02:00
Andreas Hocevar ea12f7945f Merge pull request #10853 from openlayers/dependabot/npm_and_yarn/buble-0.20.0
Bump buble from 0.19.8 to 0.20.0
2020-03-31 22:46:58 +02:00
Andreas Hocevar 7334951056 Merge pull request #10852 from openlayers/dependabot/npm_and_yarn/webpack-4.42.1
Bump webpack from 4.42.0 to 4.42.1
2020-03-31 22:44:46 +02:00
Andreas Hocevar 78202c78b9 Merge pull request #10807 from mike-000/patch-2
Handle Graticule wrapX without calculating excess meridians
2020-03-31 21:02:16 +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 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
mike-000 3b760dc308 Use getLoadWrapX() to determine extent to load 2020-03-31 16:03:10 +02:00