mike-000
d749e244ed
Improve the API description for "multiWorld"
...
The API description for multiWorld seems very vague compared with other view option descriptions and the upgrade notes.
2019-09-23 14:15:51 +01:00
mike-000
9d125ee340
Respect mutiWorld: false same as explicit extent
...
Fixes #9577
The multiWorld: false constraint is currently not taken into account when constrainResolution is set or when an explicit resolutions array is specified, while an explicit extent constraint is respected in the same situations. This pull request takes a global projection extent into consideration in that same situations that an explicit extent would be.
Add multiWorld tests with resolution constraints
includes fix for #9937
2019-09-23 11:48:25 +01:00
mike-000
dd9e2e1f0c
second attempt
2019-09-21 10:08:21 +01:00
mike-000
52125e7d9c
New test for Image layer with extent and rotation
...
Follow up for #9585/#9930
2019-09-21 00:26:53 +01:00
mike-000
e782f906ae
New test for Image layer with extent and rotation
...
Follow up for #9585/#9930
2019-09-21 00:20:41 +01:00
mike-000
ae132643c7
Add Rotate with view option
...
Use a checkbox to demonstrate the rotateWithView option
2019-09-13 13:41:45 +01:00
mike-000
763cc15c52
Add container div for CSS and a rotate checkbox
...
Wrap the map div in a container to facilitate CSS and add a Rotate with view checkbox
2019-09-13 13:34:07 +01:00
mike-000
5c2e92191a
Update CSS to work outside the examples template
...
The existing CSS doesn't work in CodeSandBox etc where ol/ol.css is imported in the JavaScript
2019-09-13 13:20:55 +01:00
mike-000
50be36fc43
Correct clipping error seen in #9585
...
Clipping does not need to consider view rotation
2019-09-13 12:06:03 +01:00
mike-000
d1cf45f767
Update rotation tests to use rotatable controls
...
#9919 make rotateWithView optional so controls used for rotation tests must be made rotatable
2019-09-11 13:03:36 +01:00
mike-000
61f49c2764
Revise and correct OverviewMap rotation
...
Correct the box display when the main map view is rotated and add an option to rotate either the box or the overview map view
2019-09-10 18:50:54 +01:00
mike-000
a4a0414eeb
LineString.forEachSegment callback description
...
Include API description of the LineString.forEachSegment callback arguments.
2019-09-05 22:53:54 +01:00
mike-000
dc420c53a4
Prevent endless cycles as observed in #9796
...
Guard against endless cycle of attempts to reset extent which can occur if there is a constraint conflict
2019-09-05 21:03:21 +01:00
mike-000
654f78388b
Handle rotation in the Box Selection example
...
oblique rotations (i.e. not 0, 90, 180 or 270 degrees) require additional filtering of features intersecting the extent of the rotated box
2019-08-26 22:11:41 +01:00
mike-000
a340da8f6e
Update side-by-side.css
2019-08-08 22:48:08 +01:00
mike-000
336056f4f0
Update side-by-side.html
2019-08-08 22:40:37 +01:00
mike-000
7cdfc33d15
Export PDF example extent corrections
...
Fixes #9460 and #9665
Replace calculateExtent and fit with getResolution and setResolution as the former do not produce the desired result when the view is rotated.
Export the viewport instead of the map div (which doesn't resize) and specify the width and height in the export options
This is a minimal fix for the two issues. Further enhancement including a fallback to export layer canvases where the browser doesn't support html-to-image could be done separately if necessary.
2019-08-08 19:41:51 +02:00
mike-000
c66347c365
Update side-by-side.js
2019-07-26 16:31:20 +01:00
mike-000
576fc6a82e
Update side-by-side.js
2019-07-26 14:23:49 +01:00
mike-000
1e1a6d0939
Update side-by-side.js
2019-07-26 14:17:42 +01:00
mike-000
8034b72231
Update side-by-side.html
2019-07-26 14:02:37 +01:00
mike-000
ac9b435a74
Create side-by-side.js
2019-07-26 13:36:51 +01:00
mike-000
9946554575
Create side-by-side.css
2019-07-26 13:34:28 +01:00
mike-000
e6458222c1
Create side-by-side.html
2019-07-26 13:32:28 +01:00
mike-000
12d21689c6
Stop the default multiWorld constraint being applied on Custom Animation example
...
For zoom: 1 to be reached the default extent constraint must be removed by adding multiWorld: true
2019-07-03 17:36:07 +01:00