3802 Commits

Author SHA1 Message Date
Maximilian Krög
a10bc713f2 Configure additional sources displayed below map 2021-11-02 00:21:12 +01:00
Maximilian Krög
ca9fc92f70 Example builder code cleanup
Add function for transforming js source and cloaking
Use  to parse source for import statements
Use now released parcel 2.0.0
2021-11-02 00:21:12 +01:00
Maximilian Krög
46d9e8db8e Fix codesandbox edit for offscreen-canvas example 2021-11-02 00:21:12 +01:00
Maximilian Krög
8cff620691 Improve unusable map window
As long as the original window is visible animation frames will run
and the external map will be usable
2021-11-02 00:21:12 +01:00
andrewcoder002
f74cd62827 Update external-map.js
Handle situations when main window loose focus - e.g. by selecting of differen browser tab.
2021-11-02 00:21:11 +01:00
Maximilian Krög
7bed63bf3f Improve window open and close handling
Use pagehide event instead of beforeunload, seems to be more reliable
Add a timeout and info message when opening the window fails
2021-11-02 00:21:11 +01:00
Maximilian Krög
5149224354 Improve code and its formatting 2021-11-02 00:21:11 +01:00
andrewcoder002
f353d52da3 Update external-map.js 2021-11-02 00:21:11 +01:00
andrewcoder002
f4739df907 Update external-map.js 2021-11-02 00:21:10 +01:00
andrewcoder002
a807af75f1 Update external-map.js 2021-11-02 00:21:10 +01:00
andrewcoder002
c799cf0cfd Update external-map-map.html
Handle situation when user reloads external map window
2021-11-02 00:21:10 +01:00
Maximilian Krög
86801d1151 Make external map example work 2021-11-02 00:21:09 +01:00
andrewcoder002
7a74ba606a Test case of new functionality
Test case of new functionality that enables to switch map to another browser window and back
2021-11-02 00:21:09 +01:00
Tim Schaub
0e19c9aa2b Example that demonstrates a color expression using variables 2021-10-29 11:48:41 -06:00
Tim Schaub
2adf74ece4 Include WebGL context in render events for WebGL layers 2021-10-29 08:39:47 -06:00
Tim Schaub
f1c0781eb2 Example style update 2021-10-26 16:55:56 -06:00
mike-000
6640d2d069 new example 2021-10-25 10:55:21 +01:00
mike-000
895749707f Use core-js cdn for some polyfills 2021-10-18 16:10:08 +01:00
mike-000
a2291abf1d also transpile .mjs 2021-10-13 10:17:50 +01:00
Tim Schaub
9224678627 Simplified ESLint config 2021-10-12 09:03:53 -06:00
MoonE
9e37182649 Merge pull request #12646 from ashchurova/fix-8136-hit-detection-custom-renderer
Support for hit detection in styles with custom rendering
2021-09-29 20:22:57 +02:00
Tim Schaub
264f155fe3 Merge pull request #12785 from mike-000/Promise.allSettled
Promise.allSettled polyfill and other browser compatibilty
2021-09-24 19:32:53 +00:00
Tim Schaub
0b1d0c9b6e Merge pull request #12807 from tschaub/style-tweaks
Updated styles
2021-09-24 14:12:56 +00:00
Tim Schaub
3db0bf1c6d Update to the WebGL sea level example 2021-09-24 13:41:19 +00:00
Tim Schaub
f5052149d1 Updated styles 2021-09-24 13:40:54 +00:00
Andreas Hocevar
c934f08866 Update geotiff 2021-09-23 13:24:58 +00:00
mike-000
1776f13f4c Update the tile source 2021-09-22 16:25:17 +01:00
Tim Schaub
d5813deb08 Allow maps to be configured with a promise for view props 2021-09-21 10:25:29 +00:00
mike-000
8be8660b91 Fix range slider for better browser support 2021-09-20 11:39:21 +01:00
mike-000
3b108ef058 add NumpyLoader 2021-09-20 11:25:21 +01:00
mike-000
208e2cb022 Polyfill for Promise.allSettled 2021-09-20 11:21:21 +01:00
mike-000
b4275f887e Polyfill for Promise.allSettled 2021-09-20 11:17:59 +01:00
Andreas Hocevar
35b3262e0b Fix offscreen-canvas example 2021-09-18 10:30:34 +02:00
Andreas Hocevar
e5193ffa6e Use a more restrictive Mapbox token 2021-09-18 09:28:25 +02:00
Tim Schaub
836aa4900e Use Uint8Array instead of Uint8ClampedArray for browser compatibility 2021-09-16 15:10:35 -06:00
Tim Schaub
0fb5237de2 Remove extra closing anchor tag 2021-09-16 09:59:22 -06:00
Tim Schaub
0783a8211f Adjustments to NumpyTiles example 2021-09-16 09:44:43 -06:00
Duck
3fc8217254 Add example featuring numpytiles 2021-09-16 07:09:31 -07:00
mike-000
cb6995d71a Various fixes for browser compatibility issues (#12740)
* Replace Math.log2 with ol/math.log2
* TypedArray.from() browser compatibility fallback
* listen for input and change events for range
2021-09-15 08:45:12 -06:00
Anna Shchurova
2b5ea17d79 Moved layer declaration in the sample 2021-09-15 08:20:00 -04:00
Anna Shchurova
3ec1ed6bf0 Changed based on review comments 2021-09-13 19:22:27 -04:00
Anna Shchurova
d2a2234eec Added sample for custom hit renderer 2021-09-13 16:42:48 -04:00
Andreas Hocevar
c5fafbd6c2 Merge pull request #12734 from ahocevar/still-ie11-why-oh-why
Continue supporting IE11 in examples and legacy build
2021-09-11 17:23:03 +02:00
Andreas Hocevar
ccb9ff6f37 Configure builds so they actually work 2021-09-10 18:15:08 +02:00
Andreas Hocevar
b4d93141ec Do not mangle properties for built examples 2021-09-10 16:28:42 +02:00
Andreas Hocevar
fa8aa81840 Continue supporting IE11 in examples and legacy buld 2021-09-10 13:40:25 +02:00
Andreas Hocevar
26fd8a8f59 Better distinguish new example from existing one 2021-09-10 13:15:17 +02:00
Andreas Hocevar
50e89080a4 Use view projection tile grid in tile loadingstrategy 2021-09-10 02:01:47 +02:00
Tim Schaub
4b340fc9bc Avoid creating duplicate projections in COG examples 2021-09-06 16:08:10 -06:00
Tim Schaub
0e4c40e315 Use band numbers starting with one 2021-09-06 11:31:08 -06:00