mike-000
ce8b63a67e
Open default attributions links in new tab/window
2019-10-23 12:10:55 +01:00
mike-000
6b25f713cd
Open default attributions links in new tab/window
2019-10-23 12:08:40 +01:00
mike-000
4b79818797
Open default attributions links in new tab/window
2019-10-23 12:03:01 +01:00
mike-000
110c17cf9e
Remove label style caches
2019-10-22 12:04:06 +01:00
mike-000
7edd10d66f
Test that label text is set in styles
2019-10-21 16:00:54 +01:00
mike-000
2b1417df3f
Revise the description of applyTransform
...
Revise the description of applyTransform and transformFn (loosely based on that used in ol/extent) to avoid any misunderstanding that the function is called inside a forEach method.
2019-10-16 13:59:38 +01:00
mike-000
046b78cca7
Document the OSM crossOrigin default
2019-10-11 18:16:19 +01:00
mike-000
2a2cc40d42
Correct the defaulting of maxZoom
...
Only default if undefined as maxZoom: 0 should be valid as it is for all other tile sources
2019-10-10 14:08:10 +01:00
mike-000
cbf0ecfd75
Update test for no features
2019-10-09 18:25:04 +01:00
mike-000
b727e4f45e
Set label text for option styles
...
Set label text for lonLabelStyle and latLabelStyle options
2019-10-04 22:00:20 +01:00
mike-000
4f83392b76
Remove offsets from mouse position calculation
...
and remove space
2019-10-01 15:55:30 +01:00
mike-000
8a04f5059d
Remove offsets from mouse position calculation
...
Fixes #10073
Remove unneeded offsets from mouse position calculation as box position was centered in #9919
2019-10-01 15:47:36 +01:00
mike-000
733b883ac0
Correct expected result to reflect #10054
...
Correct world extent constrained resolution test to expect integer zoom level
2019-09-29 12:19:42 +01:00
mike-000
eaa5af2c7a
Fix for #10054
...
Ensure zoom level is not less than minimum integer zoom level for extent
2019-09-29 12:00:08 +01:00
mike-000
e28fa56edd
Changes for the CircleStyle inconsistency seen in #9395
...
Change hit detection test to reflect fix for #9395 CircleStyle inconsistency
Update ol/style/Circle and ol/style/RegularShapen tests
Revise test for no fill
Add test for transparent fill
Update Upgrade notes
Changes to hit detection with unfilled styles
2019-09-26 14:27:31 +01:00
mike-000
678f9136c6
Make Circle hit detection consistent with Polygon
...
Fixes one of the inconsistencies seen in #9395
Add hit detection for no fill and transparent fill
Based on the example used in #9395 The tests expect consistency between Polygon and Circle geometries but currently expect the inconsistent behaviour seen when using CircleStyle
2019-09-24 22:06:28 +01:00
mike-000
6927cb4328
Correct getFeaturesAtPixel spelling and grammar
2019-09-24 20:58:29 +01:00
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