vue-geojson-view-ts 1.3.10 → 1.3.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.
- package/dist/vue-geojson-view-ts.js +8600 -8597
- package/dist/vue-geojson-view-ts.umd.cjs +20 -20
- package/package.json +1 -1
- package/src/components/MapView.vue +6 -3
- package/dist/image/end.png +0 -0
- package/dist/image/home.png +0 -0
- package/dist/image/tracking.png +0 -0
package/package.json
CHANGED
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
<script lang="ts">
|
|
8
8
|
import { defineComponent } from "vue";
|
|
9
9
|
import { markerDefault } from "../helpers/imgBase64";
|
|
10
|
+
import homeIconUrl from "../assets/home.png";
|
|
11
|
+
import endIconUrl from "../assets/end.png";
|
|
12
|
+
import trackingIconUrl from "../assets/tracking.png";
|
|
10
13
|
import * as L from "leaflet";
|
|
11
14
|
import "leaflet-draw";
|
|
12
15
|
import "leaflet/dist/leaflet.css";
|
|
@@ -419,17 +422,17 @@ export default defineComponent({
|
|
|
419
422
|
if (geometryType === "Point") {
|
|
420
423
|
const tipo = feature.properties?.tipo;
|
|
421
424
|
const firstIcon = L.icon({
|
|
422
|
-
iconUrl:
|
|
425
|
+
iconUrl: homeIconUrl,
|
|
423
426
|
iconSize: [38, 38],
|
|
424
427
|
iconAnchor: [16, 41],
|
|
425
428
|
});
|
|
426
429
|
const lastIcon = L.icon({
|
|
427
|
-
iconUrl:
|
|
430
|
+
iconUrl: endIconUrl,
|
|
428
431
|
iconSize: [38, 38],
|
|
429
432
|
iconAnchor: [16, 41],
|
|
430
433
|
});
|
|
431
434
|
const pointerIcon = L.icon({
|
|
432
|
-
iconUrl:
|
|
435
|
+
iconUrl: trackingIconUrl,
|
|
433
436
|
iconSize: [38, 38],
|
|
434
437
|
iconAnchor: [16, 41],
|
|
435
438
|
});
|
package/dist/image/end.png
DELETED
|
Binary file
|
package/dist/image/home.png
DELETED
|
Binary file
|
package/dist/image/tracking.png
DELETED
|
Binary file
|