Commit Graph
11 Commits
Author SHA1 Message Date
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