Tim Schaub
054af09032
Make code prettier
...
This updates ESLint and our shared eslint-config-openlayers to use Prettier. Most formatting changes were automatically applied with this:
npm run lint -- --fix
A few manual changes were required:
* In `examples/offscreen-canvas.js`, the `//eslint-disable-line` comment needed to be moved to the appropriate line to disable the error about the `'worker-loader!./offscreen-canvas.worker.js'` import.
* In `examples/webpack/exapmle-builder.js`, spaces could not be added after a couple `function`s for some reason. While editing this, I reworked `ExampleBuilder` to be a class.
* In `src/ol/format/WMSGetFeatureInfo.js`, the `// @ts-ignore` comment needed to be moved down one line so it applied to the `parsersNS` argument.
2020-04-06 12:54:09 -06:00
Andreas Hocevar
e951a3c7d5
Fix dependency source management for examples
2020-04-06 16:51:22 +02:00
Andreas Hocevar
77763991dc
Merge pull request #10537 from mike-000/patch-3
...
Correct resolution used for scale bar and add dpi option
2020-04-04 09:53:54 +02:00
mike-000
6006fb2c03
base minWidth on default dpi & remove setMinWidth
2020-04-03 17:11:20 +01:00
mike-000
362df3439e
update description
2020-04-02 23:51:36 +01:00
mike-000
dfcc649c59
Merge branch 'master' into patch-4
2020-04-02 22:37:36 +01:00
mike-000
f4a3a3bc70
remove prerender context setting
2020-04-02 22:32:30 +01:00
mike-000
1cd4d37c45
change option name to imageSmoothing
2020-04-02 18:44:07 +01:00
mike-000
23fe5463fa
use dom-to-image-more
2020-04-02 14:59:58 +01:00
mike-000
ab006abf25
use dom-to-image-more
2020-04-02 14:59:57 +01:00
mike-000
b56ca954d5
avoid classname conflict with example template
2020-04-02 14:59:55 +01:00
mike-000
e6658aec1e
add domtoimage
2020-04-02 14:59:54 +01:00
mike-000
e2ac566c05
Correct resolution used for scale. Add dpi option.
...
Also add setDpi and setMinWidth methods
Add Print to scale example
2020-04-02 14:59:54 +01:00
Tim Schaub
a073c5ab1e
Merge pull request #10859 from SDaron/clipping-layer
...
Add an example of clipping layer based on a vector source
2020-04-01 03:59:58 -06:00
Simon Daron
23c2e1062c
Add an example of clipping layer based on a vector source
2020-04-01 10:08:37 +02:00
Andreas Hocevar
7dd42ef19f
Key update
2020-04-01 09:07:07 +02:00
Andreas Hocevar
061ccb987b
Key update
2020-04-01 08:43:52 +02:00
mike-000
82dd764d13
Replace Bing layer with MapTiler
2020-03-31 22:37:51 +01:00
mike-000
7b55fe381e
Replace Bing layer with MapTiler
2020-03-31 22:36:07 +01:00
mike-000
3c0ff15414
Cap Longitudes and replace Bing with MapTiler
2020-03-31 22:32:02 +01:00
Andreas Hocevar
b39e12406a
Merge pull request #10824 from MoonE/icon-color-ie11
...
Fix drawing svg icon with color option in ie11
2020-03-28 14:26:10 +01:00
mike-000
c3d9ac6265
Fix description
2020-03-25 12:55:57 +00:00
Andreas Hocevar
d70b3aa3d5
Move catch-up logic to main thread
...
This avoids requestAnimationFrame in the worker.
2020-03-24 12:14:31 +01:00
Andreas Hocevar
576f50331b
Add attribution
2020-03-23 20:30:58 +01:00
Andreas Hocevar
5113d70701
Rename example
2020-03-23 19:37:13 +01:00
Andreas Hocevar
0e1af6836f
Example cleanup
2020-03-23 12:47:27 +01:00
Andreas Hocevar
828becf68e
Position rotate control in the bottom left
2020-03-23 12:47:26 +01:00
Andreas Hocevar
28f390828d
Use same data as in mapbox-style example
2020-03-23 12:47:26 +01:00
Andreas Hocevar
ade9ac8857
Make mapbox-style example fullscreen on demand
2020-03-23 12:47:25 +01:00
Andreas Hocevar
bc1be50cbc
Add worker support to examples
2020-03-23 12:47:25 +01:00
Andreas Hocevar
6dcc54bfb8
'action' instead of 'type' as message identifier
2020-03-23 12:46:24 +01:00
Andreas Hocevar
f80c175263
Do not transform rotated views
2020-03-23 12:46:23 +01:00
Andreas Hocevar
3217bf1316
Add style handling
2020-03-23 12:46:23 +01:00
Andreas Hocevar
10c3330580
Use correct transorms at the right time
2020-03-23 12:46:23 +01:00
Andreas Hocevar
a93edb338b
Instant UI feedback
2020-03-23 12:46:21 +01:00
Andreas Hocevar
3f5022630b
Create a basic example for OffscreenCanvas rendering
2020-03-23 12:46:20 +01:00
Maximilian Krög
fbb0364ea5
Make Icon's color attribute work in ie11
2020-03-21 00:33:41 +01:00
Maximilian Krög
f942c482d8
Svg icon needs imgSize to display in ie11
2020-03-21 00:15:49 +01:00
mike-000
874b850d76
Merge branch 'master' into patch-4
2020-03-11 17:10:03 +00:00
Tim Schaub
7299c0dd04
Merge pull request #10787 from mike-000/patch-7
...
Improved projection extent in the "Reprojection with EPSG.io Search" example
2020-03-10 16:56:08 -06:00
Andreas Hocevar
5f283496ed
Merge pull request #10777 from ahocevar/geolocation-example
...
Keep the render loop running during simulation
2020-03-10 16:11:14 +01:00
mike-000
7c22b5a238
Improve the calculation of projection extent
...
fix quotes
2020-03-09 16:09:07 +00:00
mike-000
230c6b011e
Improve the calculation of projection extent
...
Add show graticule option
2020-03-09 15:24:01 +00:00
mike-000
6019a61cca
Add show graticule option
2020-03-09 14:54:24 +00:00
Andreas Hocevar
686b4dbdc8
Merge pull request #10723 from mike-000/patch-6
...
Improve the extent transforms used by Graticule and handle extents crossing the dateline
2020-03-09 15:26:52 +01:00
Andreas Hocevar
5424e3eae2
Keep the render loop running during simulation
2020-03-09 15:25:49 +01:00
Andreas Hocevar
1d4744b730
Merge pull request #10744 from mike-000/patch-7
...
Ensure the Modify Features Test example opens at correct zoom
2020-03-08 23:44:43 +01:00
mike-000
9d0b139432
Ensure example opens at correct zoom
...
wrapX: false not needed for consistency with OL5
2020-03-05 17:41:33 +00:00
mike-000
408eac2524
Replace Bing layer with MapTiler
2020-03-05 15:27:18 +00:00
mike-000
737c30fedc
Replace Bing layer with MapTiler
2020-03-05 15:25:48 +00:00