mike-000
caefe8c85b
Disable image smoothing for the DEM source
2019-12-18 20:49:44 +00:00
mike-000
977b89c99d
Disable image smoothing for the DEM source
2019-12-18 20:40:20 +00:00
mike-000
3bf1931f39
Replace Bing layer with MapTiler
2019-12-15 16:15:51 +00:00
mike-000
122140e9f0
Replace Bing layer with MapTiler
2019-12-15 16:04:46 +00:00
mike-000
ab8e80fc98
Control button span element pointer events
...
Prevent pointer events on span elements within control buttons
2019-12-14 13:47:05 +00:00
mike-000
6596a988c0
Add crossOrigin option for icons
...
Avoid unnecessary tests by using only one test for the default icon crossOrigin,. In other cases ensure that the specified option is set.
2019-12-12 17:50:50 +00:00
mike-000
f13ebbee3f
Add crossOrigin option for icons
...
Add * @this {KML} to functions invoked using .call
2019-12-12 17:21:14 +00:00
mike-000
2e544cb677
Circles and custom geometry in user coordinates
...
Pass the view projection to the geometry function so circles and other custom geometry can be given the expected shape/size in the view while being defined in user coordinates.
Add tests to draw circles in a user projection and along both axes
Draw regular polygon in a user projection
Draw box in a user projection
2019-12-10 19:47:37 +00:00
mike-000
35b2a92c10
Include Transform typedef in API
2019-12-05 12:06:03 +00:00
mike-000
2790d50660
Adjust for layer canvas rotation
...
replace missed lines
2019-12-04 23:47:12 +00:00
mike-000
b4ae4ab86f
Adjust for layer canvas rotation
2019-12-04 23:08:29 +00:00
mike-000
aaae50e689
Adjust for layer canvas pixel ratio and rotation
2019-12-04 23:04:44 +00:00
mike-000
10f9a70d5f
Adjust for layer canvas pixel ratio and rotation
2019-12-04 22:59:16 +00:00
mike-000
aaebab2831
Replace Bing layer with MapTiler
2019-12-02 16:40:16 +00:00
mike-000
28818e5b4e
Replace Bing layers with MapTiler
2019-11-26 17:06:14 +00:00
mike-000
8865f22020
Fix trailing space
2019-11-20 18:28:59 +00:00
mike-000
fb7060a4d0
Update tile grid option descriptions
...
In version 6 coordinate increase downwards. Revise the description for "sizes" to better distinguish zoom level and overall grid extents. Remove reference to the "widths" options which was deprecated over 4 years ago.
2019-11-20 18:15:31 +00:00
mike-000
c3153075b2
Update tile grid option descriptions
...
In version 6 coordinate increase downwards. Add a description for "sizes"
2019-11-20 18:02:42 +00:00
mike-000
4fb301e3e5
Fix codesandbox error
...
src="" is not needed and causes an error when the example is opened in codesandbox
2019-11-12 16:38:14 +00:00
mike-000
cf72a649cc
Replace BNG layer source
...
The MapTiler MiniScale source used for the BNG layer is no longer working. The data continues to be available via ESRI UK https://www.arcgis.com/home/item.html?id=5b5ff94ca7414a26b75e0d337a023d38
2019-11-08 15:52:39 +00:00
mike-000
ad6d91b9ae
Treat hsl/hsla as named colors
...
hsl/hsla values produce an assertion error in fromStringInternal_ This simplest solution is to treat them as named colors.
2019-10-25 13:31:18 +01:00
mike-000
f47fa8b407
Add crossOrigin option for icons
...
Make the crossOrigin setting for icons configurable to avoid errors when KML files reference images when are not CORS enabled
Pass scope in readPlacemark_
and to handle IconStyle in a placemark style map
Test crossOrigin option for icons
Add tests for IconStyle in style maps and shared styles
2019-10-24 11:04:47 +01:00
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
937f7f613e
Resolve constraints using anchor
...
Resolve constraints using anchor if view state is the result of cancelling an animation with anchor
2019-10-12 21:13:34 +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