@versatiles/map-editor 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +50 -0
  3. package/dist/_app/immutable/assets/2.vrWZYRVE.css +1 -0
  4. package/dist/_app/immutable/assets/3.BLA0AxgC.css +1 -0
  5. package/dist/_app/immutable/assets/MapViewer.BtMysvtR.css +1 -0
  6. package/dist/_app/immutable/chunks/B16QPxTL.js +1 -0
  7. package/dist/_app/immutable/chunks/BFhkrCgt.js +1 -0
  8. package/dist/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  9. package/dist/_app/immutable/chunks/C1qWpZZK.js +3 -0
  10. package/dist/_app/immutable/chunks/CDI9yWJf.js +2 -0
  11. package/dist/_app/immutable/chunks/CRzLMJPS.js +1 -0
  12. package/dist/_app/immutable/chunks/CrYE9acA.js +1 -0
  13. package/dist/_app/immutable/chunks/DK3Fl9T5.js +1 -0
  14. package/dist/_app/immutable/chunks/DU0zVETU.js +4 -0
  15. package/dist/_app/immutable/chunks/Dams4V9V.js +1 -0
  16. package/dist/_app/immutable/chunks/nsn6-zdH.js +821 -0
  17. package/dist/_app/immutable/chunks/taIKLBN-.js +1 -0
  18. package/dist/_app/immutable/chunks/wfp5evzz.js +1 -0
  19. package/dist/_app/immutable/entry/app.DtAj8JKm.js +2 -0
  20. package/dist/_app/immutable/entry/payload.DSmR2FwN.js +1 -0
  21. package/dist/_app/immutable/entry/start.BlK6_2SP.js +2 -0
  22. package/dist/_app/immutable/nodes/0.DDz1Dk-W.js +1 -0
  23. package/dist/_app/immutable/nodes/1.DCMJt1lg.js +1 -0
  24. package/dist/_app/immutable/nodes/2.B3OUzcrd.js +28 -0
  25. package/dist/_app/immutable/nodes/3.ttq6Z4rF.js +1 -0
  26. package/dist/_app/immutable/nodes/4.Dmkqn01Q.js +1 -0
  27. package/dist/_app/version.json +1 -0
  28. package/dist/favicon.ico +0 -0
  29. package/dist/index.html +69 -0
  30. package/dist/map-editor.config.jsonc +80 -0
  31. package/dist/schema/mapjson-1.schema.json +821 -0
  32. package/dist/view/index.html +68 -0
  33. package/package.json +27 -0
@@ -0,0 +1,68 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <script>
7
+ // Every page is the index.html of a folder, with paths relative to it. Opened without the
8
+ // slash at the end, e.g. "/editor" instead of "/editor/", as some web servers and CDNs serve
9
+ // it, those paths would point to the folder above, and the page would not start.
10
+ if (!location.pathname.endsWith('/') && !location.pathname.split('/').pop().includes('.')) {
11
+ // not the rest of this page, which would load its scripts from the folder above
12
+ window.stop();
13
+ location.replace(location.pathname + '/' + location.search + location.hash);
14
+ }
15
+ </script>
16
+ <link href="../_app/immutable/entry/start.BlK6_2SP.js" rel="modulepreload">
17
+ <link href="../_app/immutable/entry/payload.DSmR2FwN.js" rel="modulepreload">
18
+ <link href="../_app/immutable/chunks/CRzLMJPS.js" rel="modulepreload">
19
+ <link href="../_app/immutable/chunks/B16QPxTL.js" rel="modulepreload">
20
+ <link href="../_app/immutable/chunks/CDI9yWJf.js" rel="modulepreload">
21
+ <link href="../_app/immutable/chunks/C1qWpZZK.js" rel="modulepreload">
22
+ <link href="../_app/immutable/chunks/Dams4V9V.js" rel="modulepreload">
23
+ <link href="../_app/immutable/chunks/BFhkrCgt.js" rel="modulepreload">
24
+ <link href="../_app/immutable/entry/app.DtAj8JKm.js" rel="modulepreload">
25
+ <link href="../_app/immutable/nodes/0.DDz1Dk-W.js" rel="modulepreload">
26
+ <link href="../_app/immutable/chunks/DK3Fl9T5.js" rel="modulepreload">
27
+ <link href="../_app/immutable/nodes/4.Dmkqn01Q.js" rel="modulepreload">
28
+ <link href="../_app/immutable/chunks/DU0zVETU.js" rel="modulepreload">
29
+ <link href="../_app/immutable/chunks/nsn6-zdH.js" rel="modulepreload">
30
+ <!--108px9u--><meta name="generator" content="VersaTiles Map Editor 4.0.0"/> <meta name="description" content="A map made with the VersaTiles Map Editor."/><!----><title>VersaTiles Map</title>
31
+ <link href="../_app/immutable/assets/MapViewer.BtMysvtR.css" rel="stylesheet">
32
+ <style>
33
+ .wrapper {
34
+ position: absolute;
35
+ width: 100vw;
36
+ height: 100vh;
37
+ box-sizing: border-box;
38
+ }
39
+ </style>
40
+ </head>
41
+
42
+ <body data-sveltekit-preload-data="hover" style="margin: 0">
43
+ <div><!--[--><!--[--><!--[0--><!--[--><!--[--><!--[-1--><!--[--><div class="wrapper"><div class="page map-editor-theme svelte-1jkxsaw" style="--corner-top: 0px; --covered-left: 0px; --covered-right: 0px; --covered-bottom: 0px;"><div class="container svelte-1jkxsaw"><div class="map svelte-1jkxsaw"></div></div> <!--[0--><div class="loading svelte-u01q3" role="status" style="right: 0px;"><span class="spinner svelte-u01q3" aria-hidden="true"></span>Loading map…</div><!--]--> <div class="notifications svelte-rzu16n" style="--sidebar: 0px;"><!--[--><!--]--></div><!----> <!--[-1--><!--]--> <!--[-1--><!--]--> <!--[-1--><!--]--> <!--[-1--><!--]--> <!--[-1--><!--]--> <!----></div><!----></div><!--]--><!--]--><!--]--><!----><!--]--><!--]--><!--]--><!----> <!--[-1--><!--]--><!--]-->
44
+
45
+ <script>
46
+ {
47
+ __sveltekit_1fjkvy = {
48
+ base: new URL("..", location).pathname.slice(0, -1),
49
+ version: "1791554285196"
50
+ };
51
+
52
+ const element = document.currentScript.parentElement;
53
+
54
+ import("../_app/immutable/entry/start.BlK6_2SP.js").then(async (kit) => {
55
+ kit.init(__sveltekit_1fjkvy);
56
+ const app = await import("../_app/immutable/entry/app.DtAj8JKm.js");
57
+ kit.start(app, element, {
58
+ node_ids: [0, 4],
59
+ data: [null,null],
60
+ form: null,
61
+ error: null
62
+ });
63
+ });
64
+ }
65
+ </script>
66
+ </div>
67
+ </body>
68
+ </html>
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@versatiles/map-editor",
3
+ "version": "4.0.0",
4
+ "description": "The VersaTiles map editor as a static site, to serve from any web server.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/versatiles-org/versatiles-map-editor.git"
9
+ },
10
+ "homepage": "https://github.com/versatiles-org/versatiles-map-editor#readme",
11
+ "bugs": {
12
+ "url": "https://github.com/versatiles-org/versatiles-map-editor/issues"
13
+ },
14
+ "keywords": [
15
+ "versatiles",
16
+ "map",
17
+ "editor",
18
+ "maplibre",
19
+ "static-site"
20
+ ],
21
+ "files": [
22
+ "dist"
23
+ ],
24
+ "publishConfig": {
25
+ "access": "public"
26
+ }
27
+ }