Commit Graph

13423 Commits

Author SHA1 Message Date
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
Andreas Hocevar 3a92a8091a Merge pull request #10699 from ahocevar/select
Make Select interaction work when there are multiple instances
2020-02-19 15:33:00 +01:00
Tim Schaub d7aa47eedc Merge pull request #10694 from M393/image-opacity
Draw image with configured opacity
2020-02-19 06:59:33 -07:00
Andreas Hocevar f98f66c529 Make Select interaction work when there are multiple instances 2020-02-19 11:52:12 +01:00
Andreas Hocevar b6abe036ce Make events work in shadow dom 2020-02-18 21:32:09 +01:00
Maximilian Krög ab9d7cdc70 Draw image with configured opacity 2020-02-18 14:09:36 +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
Frédéric Junod 1481ec7d85 Merge pull request #10683 from fredj/fs_events
Dispatch enterfullscreen and leavefullscreen from the FullScreen control
2020-02-18 08:26:44 +01:00
Tim Schaub 7c394c6a1b Merge pull request #10676 from mike-000/patch-6
Document that overviewmap view must use same projection as main map
2020-02-17 20:17:22 -07: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 d5f249f0ef Merge pull request #10690 from mike-000/patch-8
Document minZoom and maxZoom options for all layers
2020-02-17 18:29:21 +01:00
Andreas Hocevar eebb2cb9ae Merge pull request #10672 from ahocevar/mousewheel
Nicer mousewheel and trackpad zooming
2020-02-17 18:27:03 +01:00
mike-000 fa4fcf3886 add minZoom and maxZoom options 2020-02-17 16:59:40 +00:00
mike-000 4cf093ab75 add minZoom and maxZoom options 2020-02-17 16:58:46 +00:00
mike-000 c5885cc649 add minZoom and maxZoom options 2020-02-17 16:57:00 +00:00
mike-000 d0e439ee80 add minZoom and maxZoom options 2020-02-17 16:55:15 +00:00
mike-000 edb94af314 add minZoom and maxZoom options 2020-02-17 16:53:57 +00:00
mike-000 501546bc44 add minZoom and maxZoom options 2020-02-17 16:52:59 +00:00
mike-000 d102f561f9 add minZoom and maxZoom options 2020-02-17 16:52:12 +00:00
mike-000 265eb5421d add minZoom and maxZoom options 2020-02-17 16:51:08 +00:00
mike-000 fbaa4da153 add minZoom and maxZoom options 2020-02-17 16:49:47 +00:00
mike-000 3dc4e546bf add minZoom and maxZoom options 2020-02-17 16:47:55 +00:00
Olivier Guyot bf38796ec7 Merge pull request #10684 from jellyedwards/master
perf: only do expensive reload when texture changes
2020-02-17 13:26:46 +01:00
Frederic Junod 9a03ca8417 Dispatch enterfullscreen and leavefullscreen from the FullScreen control 2020-02-17 10:48:29 +01:00
mike-000 2e1e0dba54 document that views must use same projection 2020-02-16 11:11:37 +00:00
Andreas Hocevar d93073f8d0 No trackpad mode for constrained resolutions 2020-02-16 10:05:32 +01:00
Andreas Hocevar 5150378983 Improve trackpad rebound behavior 2020-02-16 09:08:27 +01:00
Andreas Hocevar f3ce8e23b4 Fractional zoom changes in WHEEL mode 2020-02-15 13:53:14 +01:00
Andreas Hocevar 2c7c639f4b Merge pull request #10667 from ahocevar/label-linedash
Do not render label with the current linedash
2020-02-14 14:31:43 +01:00
Andreas Hocevar 0471b6e650 Do not render label with the current linedash 2020-02-14 13:50:03 +01:00
John Leonard 8fe71bbbff perf: only do expensive reload when texture changes 2020-02-14 11:39:54 +00: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
mike-000 7a77793d69 Write fill and outline in PolyStyle
Write styles based on style objects appropriate for geometry.
Write fill and outline in PolyStyle if false (i.e. non-default)
Handle MultiLineString, MultiPoint and MultiPolygon within heterogenous MultiGeometry when writing features

Add getGeometriesArrayRecursive method to ol/geom/GeometryCollection to allow for nested MultiGeometry

Enhanced write GeometryCollection geometries test

A more rigorous write GeometryCollection geometries test including nested collections (the output is simplified to a single MultiGeomtry)

Add writeFeatures to outline and fill tests, setting geometry for geometry specific tests

Add <fill>0</fill> and <outline>0</outline> to some existing tests
2020-02-12 21:18:57 +00:00
Andreas Hocevar 262373a4b5 Remove circular dependency 2020-02-12 20:31:18 +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
Olivier Guyot 8d4c3b2887 Draw / clearer variable names 2020-02-11 11:19:55 +01:00
Olivier Guyot 3c5d0f223e Draw / fix map object in addToDrawing method 2020-02-10 16:55:35 +01:00
Otto Pellinen 02597229e3 Cleanup comments 2020-02-10 16:48:12 +01:00
Otto Pellinen bc79d59811 Use private function addToDrawing_ in appendCoordinates 2020-02-10 16:48:12 +01:00
Otto Pellinen f43bc8d122 Fix comment for appendCoordinates 2020-02-10 16:48:12 +01:00
Otto Pellinen 175695f877 Update function descriptions for clarity 2020-02-10 16:48:12 +01:00
Otto Pellinen 83c0a258e6 Separate appendCoordinates function from extend 2020-02-10 16:48:12 +01:00
Otto Pellinen 25a5e83910 Fix eslint errors 2020-02-10 16:48:12 +01:00
Otto Pellinen 12ce4cc82a Add support for extending linear coordinates when drawing Polygons 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 4ce3b3fed1 Show name labels for points in MultiGeometry 2020-02-05 23:18:54 +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