vue-geojson-view-ts 1.2.6 → 1.2.7
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/README.md +2 -2
- package/dist/components/CoordinatesVerifyPolygon.vue.d.ts +1 -1
- package/dist/components/MapSearchAddress.vue.d.ts +7 -3
- package/dist/components/MapView.vue.d.ts +2 -2
- package/dist/vue-geojson-view-ts.js +829 -2622
- package/dist/vue-geojson-view-ts.umd.cjs +4 -4
- package/package.json +1 -1
- package/src/components/MapView.vue +2 -2
package/README.md
CHANGED
|
@@ -114,10 +114,10 @@ const getGeoJSON = (geojson:any) =>{
|
|
|
114
114
|
console.log(geojson)
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
const dataPolygon = [{"type":"Feature","properties":{},
|
|
117
|
+
const dataPolygon = JSON.stringify([{"type":"Feature","properties":{},
|
|
118
118
|
"geometry":{"type":"Polygon","coordinates":[
|
|
119
119
|
[[-65.268488,-19.038266],[-65.25703,-19.034128],[-65.256085,-19.039361],[-65.268788,-19.043337],[-65.268488,-19.038266]]
|
|
120
|
-
]}}]
|
|
120
|
+
]}}]) //
|
|
121
121
|
|
|
122
122
|
</script>
|
|
123
123
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TIconMaker = {
|
|
1
|
+
export declare type TIconMaker = {
|
|
2
2
|
iconUrl: string;
|
|
3
3
|
iconSize: [number, number];
|
|
4
4
|
iconAnchor: [number, number];
|
|
@@ -50,7 +50,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
50
|
props: any;
|
|
51
51
|
emit: (event: "updated:coordsMarker", ...args: any[]) => void;
|
|
52
52
|
idMap: import("vue").Ref<any>;
|
|
53
|
-
coords:
|
|
53
|
+
coords: import("vue").Ref<{
|
|
54
|
+
lat: number;
|
|
55
|
+
lng: number;
|
|
56
|
+
zoom: number;
|
|
57
|
+
}>;
|
|
54
58
|
mapRender: import("vue").Ref<any>;
|
|
55
59
|
markerRender: import("vue").Ref<any>;
|
|
56
60
|
makeid: (length: number) => Promise<void>;
|
|
@@ -97,5 +101,5 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
97
101
|
}, {
|
|
98
102
|
coordinatesMap: Record<string, any>;
|
|
99
103
|
configurationMap: Record<string, any>;
|
|
100
|
-
}
|
|
104
|
+
}>;
|
|
101
105
|
export default _sfc_main;
|
|
@@ -17,7 +17,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
17
17
|
mapRender: L.Map | null;
|
|
18
18
|
markerRender: L.Marker<any> | null;
|
|
19
19
|
renderCoordinates: unknown[] | undefined;
|
|
20
|
-
renderGeojson:
|
|
20
|
+
renderGeojson: any;
|
|
21
21
|
markerIcon: {
|
|
22
22
|
iconUrl: string;
|
|
23
23
|
iconSize: number[];
|
|
@@ -44,5 +44,5 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
loadPolygon: boolean;
|
|
45
45
|
reverseCoordinatesPolygon: boolean;
|
|
46
46
|
configurationMap: any;
|
|
47
|
-
}
|
|
47
|
+
}>;
|
|
48
48
|
export default _sfc_main;
|