@delta10/atlas-sdk 0.1.9 → 0.1.11

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.
@@ -1,23 +0,0 @@
1
- export interface LayerConfig {
2
- type: "wmts" | "vector";
3
- options: {
4
- identifier: string;
5
- title: string;
6
- url?: string;
7
- layer?: string;
8
- matrixSet?: string;
9
- format?: string;
10
- projection?: string;
11
- };
12
- }
13
- type __VLS_Props = {
14
- baseLayers: LayerConfig[];
15
- selectedBaseLayerId: string | null;
16
- };
17
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- selectBaseLayer: (layerId: string | null) => any;
19
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onSelectBaseLayer?: ((layerId: string | null) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
- declare const _default: typeof __VLS_export;
23
- export default _default;
@@ -1,7 +0,0 @@
1
- import a from "./BaseLayers.vue2.js";
2
- /* empty css */
3
- import o from "../../_virtual/_plugin-vue_export-helper.js";
4
- const s = /* @__PURE__ */ o(a, [["__scopeId", "data-v-7a503b81"]]);
5
- export {
6
- s as default
7
- };
@@ -1,50 +0,0 @@
1
- import { defineComponent as u, computed as f, openBlock as o, createElementBlock as r, createElementVNode as t, Fragment as m, renderList as y, toDisplayString as L } from "vue";
2
- const _ = { class: "wrapper" }, B = ["id", "checked", "onClick"], k = ["for"], b = { class: "layer" }, h = ["checked"], I = /* @__PURE__ */ u({
3
- __name: "BaseLayers",
4
- props: {
5
- baseLayers: {},
6
- selectedBaseLayerId: {}
7
- },
8
- emits: ["selectBaseLayer"],
9
- setup(a, { emit: c }) {
10
- const i = a, l = c, p = f(() => i.selectedBaseLayerId === null), d = (n) => {
11
- if (!n) {
12
- l("selectBaseLayer", null);
13
- return;
14
- }
15
- i.selectedBaseLayerId !== n.options.identifier && l("selectBaseLayer", n.options.identifier);
16
- };
17
- return (n, s) => (o(), r("div", _, [
18
- t("ul", null, [
19
- (o(!0), r(m, null, y(a.baseLayers, (e) => (o(), r("li", {
20
- key: e.options.identifier,
21
- class: "layer"
22
- }, [
23
- t("input", {
24
- id: e.options.identifier,
25
- type: "radio",
26
- name: "baseLayer",
27
- checked: i.selectedBaseLayerId === e.options.identifier,
28
- onClick: () => d(e)
29
- }, null, 8, B),
30
- t("label", {
31
- for: e.options.identifier
32
- }, L(e.options.title), 9, k)
33
- ]))), 128)),
34
- t("li", b, [
35
- t("input", {
36
- id: "baseLayer_none",
37
- type: "radio",
38
- name: "baseLayer",
39
- checked: p.value,
40
- onClick: s[0] || (s[0] = () => d(null))
41
- }, null, 8, h),
42
- s[1] || (s[1] = t("label", { for: "baseLayer_none" }, "Geen", -1))
43
- ])
44
- ])
45
- ]));
46
- }
47
- });
48
- export {
49
- I as default
50
- };
@@ -1,23 +0,0 @@
1
- export interface LayerConfig {
2
- type: "wmts" | "vector" | "wms";
3
- options: {
4
- identifier: string;
5
- title: string;
6
- url?: string;
7
- layer?: string;
8
- matrixSet?: string;
9
- format?: string;
10
- projection?: string;
11
- };
12
- }
13
- type __VLS_Props = {
14
- toggleableLayers: LayerConfig[];
15
- visibleToggleableLayers: Set<string>;
16
- };
17
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
- toggleLayer: (layerId: string) => any;
19
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
- onToggleLayer?: ((layerId: string) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
- declare const _default: typeof __VLS_export;
23
- export default _default;
@@ -1,7 +0,0 @@
1
- import o from "./Layers.vue2.js";
2
- /* empty css */
3
- import r from "../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-16f7d1b3"]]);
5
- export {
6
- f as default
7
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as c, openBlock as t, createElementBlock as o, Fragment as g, renderList as d, createElementVNode as s, toDisplayString as h, createCommentVNode as y } from "vue";
2
- const m = { class: "wrapper" }, p = { key: 0 }, _ = { class: "layer-control" }, u = ["checked", "onChange"], b = { class: "layer-title" }, v = /* @__PURE__ */ c({
3
- __name: "Layers",
4
- props: {
5
- toggleableLayers: {},
6
- visibleToggleableLayers: {}
7
- },
8
- emits: ["toggleLayer"],
9
- setup(n, { emit: a }) {
10
- const i = a, r = (l) => {
11
- i("toggleLayer", l);
12
- };
13
- return (l, L) => (t(), o("div", m, [
14
- n.toggleableLayers.length > 0 ? (t(), o("ul", p, [
15
- (t(!0), o(g, null, d(n.toggleableLayers, (e) => (t(), o("li", {
16
- key: "toggle-" + e.options.identifier,
17
- class: "layer"
18
- }, [
19
- s("label", _, [
20
- s("input", {
21
- type: "checkbox",
22
- checked: n.visibleToggleableLayers.has(e.options.identifier),
23
- onChange: (k) => r(e.options.identifier),
24
- class: "layer-checkbox"
25
- }, null, 40, u),
26
- s("span", b, h(e.options.title), 1)
27
- ])
28
- ]))), 128))
29
- ])) : y("", !0)
30
- ]));
31
- }
32
- });
33
- export {
34
- v as default
35
- };
@@ -1,15 +0,0 @@
1
- export declare const pandenFeatures: {
2
- type: "Polygon";
3
- coordinates: number[][][];
4
- properties: {
5
- id: string;
6
- };
7
- }[];
8
- export declare const meetboutenFeatures: {
9
- type: "Point";
10
- coordinates: number[];
11
- properties: {
12
- id: string;
13
- geplaatst: boolean;
14
- };
15
- }[];
package/dist/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import type { App } from 'vue';
2
- import Map from './components/Map.vue';
3
- export { Map };
4
- export type { LayerConfig, StyleConfig, InteractionsConfig, SelectableConfig, ModifyConfig, DrawConfig, SnapConfig, } from './components/Map.vue';
5
- declare const _default: {
6
- install(app: App): void;
7
- };
8
- export default _default;
package/dist/index.js DELETED
@@ -1,10 +0,0 @@
1
- import a from "./components/Map.vue.js";
2
- const n = {
3
- install(t) {
4
- t.component("AtlasMap", a);
5
- }
6
- };
7
- export {
8
- a as Map,
9
- n as default
10
- };
package/dist/main.d.ts DELETED
@@ -1 +0,0 @@
1
- export {};
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- .wrapper[data-v-7a503b81]{position:absolute;bottom:100%;right:0;padding:8px 12px;background:#fff;border-radius:4px 4px 0;box-shadow:0 2px 8px #00000026;min-width:150px;z-index:1000;margin-bottom:8px}ul[data-v-7a503b81]{list-style:none;margin:0;padding:0}.layer[data-v-7a503b81]{position:relative;display:flex;margin-bottom:4px}.layer[data-v-7a503b81]:last-child{margin-bottom:0}.layer>input[data-v-7a503b81]{position:absolute;top:6px;left:0;width:12px;height:12px;margin:0;cursor:pointer}.layer>label[data-v-7a503b81]{display:block;position:relative;width:100%;cursor:pointer;padding:3px 0 3px 18px;-webkit-user-select:none;user-select:none;font-size:14px;white-space:nowrap}.wrapper[data-v-16f7d1b3]{position:absolute;bottom:100%;left:0;padding:12px;background:#fff;border-radius:4px 4px 4px 0;box-shadow:0 2px 8px #00000026;min-width:200px;z-index:1000;margin-bottom:8px}ul[data-v-16f7d1b3]{list-style:none;margin:0;padding:0}.layer[data-v-16f7d1b3]{margin-bottom:8px}.layer[data-v-16f7d1b3]:last-child{margin-bottom:0}.layer-control[data-v-16f7d1b3]{display:flex;align-items:center;cursor:pointer;gap:8px}.layer-checkbox[data-v-16f7d1b3]{flex-shrink:0}.layer-title[data-v-16f7d1b3]{font-size:14px;font-weight:500;color:#333;line-height:1.3}.map-container[data-v-843b95b9]{position:relative;width:100%;height:100%}.bottom-right-panels[data-v-843b95b9]{position:absolute;z-index:1;bottom:20px;right:20px;display:flex;flex-direction:column;gap:8px}.bottom-left-panels[data-v-843b95b9]{position:absolute;z-index:1;bottom:20px;left:20px;display:flex;flex-direction:column;gap:8px}.zoom-panel[data-v-843b95b9],.base-layers-control[data-v-843b95b9],.layers-control[data-v-843b95b9]{display:flex;flex-direction:column;background:#fff;border-radius:4px;box-shadow:0 1px 4px #0003;overflow:visible;position:relative}.iconbutton[data-v-843b95b9]{width:30px;height:30px;border:none;background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .2s;padding:0}.iconbutton[data-v-843b95b9]:hover{background:#f0f0f0}.iconbutton.isActive[data-v-843b95b9]{background:#e6f3ff}.iconbutton[data-v-843b95b9]:not(:last-child){border-bottom:1px solid #ddd}.fade-enter-active[data-v-843b95b9],.fade-leave-active[data-v-843b95b9]{transition:opacity .2s ease}.fade-enter-from[data-v-843b95b9],.fade-leave-to[data-v-843b95b9]{opacity:0}
@@ -1,5 +0,0 @@
1
- export declare const epsg28992: {
2
- name: string;
3
- def: string;
4
- extent: number[];
5
- };
@@ -1,8 +0,0 @@
1
- const e = {
2
- name: "EPSG:28992",
3
- def: "+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +towgs84=565.417,50.3319,465.552,-0.398957,0.343988,-1.8774,4.0725 +units=m +no_defs",
4
- extent: [-285401.92, 22598.08, 595401.92, 903401.92]
5
- };
6
- export {
7
- e as epsg28992
8
- };