Commit Graph

84 Commits

Author SHA1 Message Date
Maximilian Krög
aa7be0baeb Remove jquery from example index page 2022-08-22 19:26:24 +02:00
Maximilian Krög
559712f728 Fix some invalid html markup and some inconsistencies 2022-08-22 19:26:18 +02:00
Maximilian Krög
9109ab8407 Only load lzstring script when clicking Edit 2022-08-14 16:36:49 +02:00
Maximilian Krög
5fb74d21e5 Some improvements to the edit-example script 2022-08-14 16:36:48 +02:00
Maximilian Krög
259e3fe1c9 Fix ol.css for some examples
- es2015-custom-element needs css variables declared in :host
- external-map-map still does not work when editing in codesandbox,
  though that neither worked before.
2022-08-14 16:36:48 +02:00
Tim Schaub
9dff55a8ac Build the website 2022-08-10 10:35:07 -06:00
Tim Schaub
21223d7096 Updated map background 2022-08-01 17:16:29 -06:00
Tim Schaub
1bd9201fed Style updates for examples and API docs 2022-07-31 19:07:46 -06:00
Maximilian Krög
4c13ef13c9 Remove textContent fallback for IE 2022-07-30 23:06:59 +02:00
Matthias Mohr
c2fc1f85bf Load GeoTiff from Blob #13189 #13703 2022-06-01 23:49:01 +02:00
Maximilian Krög
14c5e9a7e8 Load api navigation dynamically to reduce needed disk space 2022-01-22 22:29:33 +01:00
Maximilian Krög
12de93b397 Fixed unusable overlay in fullscreen mode 2021-11-02 22:10:27 +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
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
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
mike-000
895749707f Use core-js cdn for some polyfills 2021-10-18 16:10:08 +01: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
f5052149d1 Updated styles 2021-09-24 13:40:54 +00:00
mike-000
b4275f887e Polyfill for Promise.allSettled 2021-09-20 11:17:59 +01:00
Maximilian Krög
85ea74a383 Fix building of examples with latest copy-webpack-plugin 2021-04-15 00:20:59 +02:00
Maximilian Krög
0d5d346bcd Update links to external resources 2021-02-08 19:40:05 +01:00
mike-000
a6860118c7 Support formats that read ArrayBuffer sources
Drag-and-Drop support for formats that read arraybuffer sources
Add TextDecoder to polyfills
Add custom Drag-and-Drop examples for KMZ and MVT
Add sample download and KML styles option to existing example
Test arraybuffer and constructed formats
2020-11-09 17:02:31 +00:00
mike-000
1f991b980b Treat svg as binary resource 2020-11-04 20:59:54 +00:00
mike-000
c3378466fe in IE use textContent instead of innerText 2020-09-22 12:14:19 +01:00
mike-000
b60574261c Fix binary data, ./ relative path syntax, and IE 2020-09-17 22:09:31 +01:00
Maximilian Krög
4deb3a2dfc Do not load resources multiple time for codepen 2020-07-26 19:31:59 +02:00
Maximilian Krög
e51643dfca Show correct link for codepen button 2020-07-26 19:31:59 +02:00
Maximilian Krög
e39e3ea152 Update prism js version
Use latest version of prism, add json formatter, copy to clipboard plugin,
and line-numbers.
Now the clipboard js is automatically loaded by prism it  it not included
and the buttons are automatically initialized. Though I added some css to
match the previous style.
2020-07-26 19:31:59 +02:00
Andreas Hocevar
07a7031d48 Merge pull request #11322 from jipexu/master
same dropdown hover than the site
2020-07-26 19:12:26 +02:00
jeanpierre
7dcddf4ec7 Update layout.css 2020-07-26 18:41:42 +02:00
Maximilian Krög
9093478016 Add modal to tag count with direct links to other examples 2020-07-25 20:40:20 +02:00
jeanpierre
9616dee9f7 Update bootstrap, cleanup css, make pages more responsive 2020-07-23 12:32:27 +02:00
Tim Schaub
cd27a13a42 Show the main.js right below the map 2020-05-03 16:27:51 -06:00
Andreas Hocevar
28f390828d Use same data as in mapbox-style example 2020-03-23 12:47:26 +01:00
Andreas Hocevar
bc1be50cbc Add worker support to examples 2020-03-23 12:47:25 +01:00
Andreas Hocevar
3217bf1316 Add style handling 2020-03-23 12:46:23 +01:00
Frederic Junod
a126702e95 Add back max-width for the attribution control in examples 2019-10-14 09:24:18 +02:00
Frederic Junod
97ded06ee4 Remove attribution control custom style in examples 2019-10-09 16:48:19 +02:00
Simon Seyock
42d8ea3a9a uploading local resources to codesandbox 2019-09-26 22:17:18 +02:00
Frederic Junod
2f28f89c59 Create codesandbox using the 'parcel' template
The default template is `create-react-app` and this one ignores the `head` tag defined in out `index.html`
2019-03-14 15:08:01 +01:00
ahocevar
138cc55b34 Add Edit button for editing in codesandbox 2019-01-10 22:14:05 +01:00
ahocevar
9372bc9157 Add package.json source 2019-01-10 18:31:26 +01:00
ahocevar
f368fa1a28 Improve layout 2019-01-09 21:50:50 +01:00
ahocevar
c4c6f84bca Separate html and js example code 2019-01-09 21:50:49 +01:00
Éric Lemoine
e0a018fa1e Set crossOrigin to anonymous in mapbox-streets-v6-style 2018-10-23 10:56:33 +02:00
Frederic Junod
6d1cc3ba88 Use unpkg.com instead of rawgit.com 2018-10-10 15:11:07 +02:00
Frédéric Junod
7fd942a04c Merge pull request #7724 from fredj/up_prism
Update prism library
2018-01-23 10:02:32 +01:00
Frederic Junod
9417e88c15 Remove extra comment 2018-01-19 13:25:54 +01:00
Frederic Junod
f638234bc6 Update prism library
To have better ES6 syntax highlighting.
The `from` keyword was not correctly rendered with our version.
2018-01-19 13:14:35 +01:00