vue-geojson-view-ts 1.3.2 → 1.3.4
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.
- package/dist/components/MapHeatComponent.vue.d.ts +56 -84
- package/dist/data/bolivia.geojson +2084 -0
- package/dist/data/cities/be.geojson +246 -0
- package/dist/data/cities/cbba.geojson +165 -0
- package/dist/data/cities/ch.geojson +170 -0
- package/dist/data/cities/lp.geojson +314 -0
- package/dist/data/cities/or.geojson +253 -0
- package/dist/data/cities/pd.geojson +164 -0
- package/dist/data/cities/pt.geojson +379 -0
- package/dist/data/cities/sc.geojson +224 -0
- package/dist/data/cities/tj.geojson +86 -0
- package/dist/image/gmap01.png +0 -0
- package/dist/index.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +1 -2
- package/dist/vue-geojson-view-ts.js +29008 -4773
- package/dist/vue-geojson-view-ts.umd.cjs +439 -8
- package/package.json +5 -2
- package/src/components/MapHeatComponent.vue +637 -200
|
@@ -1,36 +1,13 @@
|
|
|
1
|
-
export type TIconMaker = {
|
|
2
|
-
iconUrl: string;
|
|
3
|
-
iconSize: [number, number];
|
|
4
|
-
iconAnchor: [number, number];
|
|
5
|
-
class?: string;
|
|
6
|
-
type: "image" | "svg";
|
|
7
|
-
};
|
|
8
|
-
export interface IConfigurationMap {
|
|
9
|
-
height: string;
|
|
10
|
-
maxZoom: number;
|
|
11
|
-
iconMarker: TIconMaker;
|
|
12
|
-
dragMarker: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface ICoords {
|
|
15
|
-
lat: number;
|
|
16
|
-
lng: number;
|
|
17
|
-
zoom: number;
|
|
18
|
-
}
|
|
19
|
-
export interface IHeat {
|
|
20
|
-
lat: number;
|
|
21
|
-
lng: number;
|
|
22
|
-
intensidad: number;
|
|
23
|
-
}
|
|
24
|
-
export interface IMapSearchAddressProps {
|
|
25
|
-
configurationMap?: IConfigurationMap;
|
|
26
|
-
coordinatesMap?: ICoords;
|
|
27
|
-
coordinatesMapHeat?: IHeat[];
|
|
28
|
-
}
|
|
29
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
coords: any;
|
|
3
|
+
loadMapa: any;
|
|
4
|
+
typeMap: StringConstructor;
|
|
5
|
+
abrirCerrarLoader: FunctionConstructor;
|
|
6
|
+
onClickMarket: FunctionConstructor;
|
|
30
7
|
configurationMap: {
|
|
31
|
-
type: ObjectConstructor;
|
|
32
|
-
required: false;
|
|
33
8
|
default: () => {
|
|
9
|
+
strokeColor: string;
|
|
10
|
+
copyright: string;
|
|
34
11
|
height: string;
|
|
35
12
|
maxZoom: number;
|
|
36
13
|
iconMarker: {
|
|
@@ -43,45 +20,43 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
43
20
|
dragMarker: boolean;
|
|
44
21
|
};
|
|
45
22
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
23
|
+
}, unknown, {
|
|
24
|
+
radius: number;
|
|
25
|
+
blur: number;
|
|
26
|
+
zoom: number;
|
|
27
|
+
type: string;
|
|
28
|
+
olMap: any;
|
|
29
|
+
heatLayer: any;
|
|
30
|
+
pointLayer: any;
|
|
31
|
+
countryLayer: any;
|
|
32
|
+
overlay: any;
|
|
33
|
+
showSetting: boolean;
|
|
34
|
+
cantidad: number;
|
|
35
|
+
}, {}, {
|
|
36
|
+
changeTypeMap(type: string): void;
|
|
37
|
+
initMap(): void;
|
|
38
|
+
initClick(): void;
|
|
39
|
+
closeOverlay(): false;
|
|
40
|
+
onClickListener(event: any): Promise<void>;
|
|
41
|
+
updateSource(coords: any): void;
|
|
42
|
+
updatePointSource(coords: any): void;
|
|
43
|
+
changeCountryLayer(data: any): Promise<void>;
|
|
44
|
+
fitMap(): void;
|
|
45
|
+
countryFunction(evt: any): void;
|
|
46
|
+
setRadius(radius: any): void;
|
|
47
|
+
setBlur(blur: any): void;
|
|
48
|
+
irACiudad(): void;
|
|
49
|
+
toggleSettings(): void;
|
|
50
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
51
|
coords: any;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
createMap: () => Promise<void>;
|
|
70
|
-
searchAddress: (query: string) => Promise<void>;
|
|
71
|
-
setCoordinates: ({ lat, lng, moveMarker, }: {
|
|
72
|
-
lat: number;
|
|
73
|
-
lng: number;
|
|
74
|
-
moveMarker?: boolean | undefined;
|
|
75
|
-
}) => void;
|
|
76
|
-
moveCenterTo: ({ lat, lng }: {
|
|
77
|
-
lat: number;
|
|
78
|
-
lng: number;
|
|
79
|
-
}) => void;
|
|
80
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "updated:coordsMarker"[], "updated:coordsMarker", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
loadMapa: any;
|
|
53
|
+
typeMap: StringConstructor;
|
|
54
|
+
abrirCerrarLoader: FunctionConstructor;
|
|
55
|
+
onClickMarket: FunctionConstructor;
|
|
81
56
|
configurationMap: {
|
|
82
|
-
type: ObjectConstructor;
|
|
83
|
-
required: false;
|
|
84
57
|
default: () => {
|
|
58
|
+
strokeColor: string;
|
|
59
|
+
copyright: string;
|
|
85
60
|
height: string;
|
|
86
61
|
maxZoom: number;
|
|
87
62
|
iconMarker: {
|
|
@@ -94,25 +69,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
94
69
|
dragMarker: boolean;
|
|
95
70
|
};
|
|
96
71
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
72
|
+
}>>, {
|
|
73
|
+
configurationMap: {
|
|
74
|
+
strokeColor: string;
|
|
75
|
+
copyright: string;
|
|
76
|
+
height: string;
|
|
77
|
+
maxZoom: number;
|
|
78
|
+
iconMarker: {
|
|
79
|
+
iconUrl: string;
|
|
80
|
+
iconSize: number[];
|
|
81
|
+
iconAnchor: number[];
|
|
82
|
+
class: string;
|
|
83
|
+
type: string;
|
|
104
84
|
};
|
|
85
|
+
dragMarker: boolean;
|
|
105
86
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
required: false;
|
|
109
|
-
default: () => never[];
|
|
110
|
-
};
|
|
111
|
-
}>> & {
|
|
112
|
-
"onUpdated:coordsMarker"?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
coordinatesMap: Record<string, any>;
|
|
115
|
-
configurationMap: Record<string, any>;
|
|
116
|
-
coordinatesMapHeat: unknown[];
|
|
87
|
+
coords: any;
|
|
88
|
+
loadMapa: any;
|
|
117
89
|
}, {}>;
|
|
118
90
|
export default _sfc_main;
|