Commit Graph

74 Commits

Author SHA1 Message Date
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
Frederic Junod
599d3b6c0c Replace ZeroClipboard with Clipboard.js 2017-12-17 09:53:42 +01:00
Tim Schaub
4515b8fe70 Remove dev/prod switcher from examples (all have sourcemaps now) 2017-12-12 06:56:19 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar
2ef5f99599 Remove bundling magic for Mapbox styles script 2017-08-21 09:48:51 +02:00
Thomas Chandelle
89dd4af9cb Remove JSFiddle 2017-02-08 09:04:16 +01:00
Thomas Chandelle
0850e612c5 Add link to codepen in examples 2017-01-16 11:58:58 +01:00
Peter Robins
7d5635092a Remove getRendererFromQueryString from examples 2016-09-16 09:34:30 +00:00
Frederic Junod
bd635ed01f Load the examples resources with HTTPS 2016-08-23 13:52:16 +02:00
Frederic Junod
412dc0457e Fix url to maki icons 2016-05-18 16:48:03 +02:00
Andreas Hocevar
19692ed60a Warn when viewing an outdated example, and offer a redirect to latest 2016-05-12 13:40:48 +02:00