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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-geojson-view-ts",
3
- "version": "1.3.10",
3
+ "version": "1.3.11",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -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: "/image/home.png",
425
+ iconUrl: homeIconUrl,
423
426
  iconSize: [38, 38],
424
427
  iconAnchor: [16, 41],
425
428
  });
426
429
  const lastIcon = L.icon({
427
- iconUrl: "/image/end.png",
430
+ iconUrl: endIconUrl,
428
431
  iconSize: [38, 38],
429
432
  iconAnchor: [16, 41],
430
433
  });
431
434
  const pointerIcon = L.icon({
432
- iconUrl: "/image/tracking.png",
435
+ iconUrl: trackingIconUrl,
433
436
  iconSize: [38, 38],
434
437
  iconAnchor: [16, 41],
435
438
  });
Binary file
Binary file
Binary file