Skip to content

Commit

Permalink
Commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBirtch-aot committed Aug 8, 2024
1 parent 65301b7 commit 37716bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 150 deletions.
149 changes: 2 additions & 147 deletions components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"lodash": "^4.17.21",
"native-promise-only": "^0.8.1",
"path-browserify": "^1.0.1",
"vue": "^3.4.36",
"webpack": "^5.75.0"
},
"devDependencies": {
Expand Down
7 changes: 5 additions & 2 deletions components/src/components/Map/services/MapService.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as L from 'leaflet';
import { toRaw, markRaw } from 'vue';
import 'leaflet-draw';
import 'leaflet/dist/leaflet.css';
import 'leaflet-draw/dist/leaflet.draw-src.css';
Expand Down Expand Up @@ -67,7 +66,11 @@ class MapService {
});

map.on(L.Draw.Event.DRAWSTART, (e) => {
e.layer.setIcon(this.customMarker);
console.log(e.target);
console.log(e.layer);
console.log(e.sourceTarget);
console.log(e.propagatedFrom);
//.setIcon(this.customMarker);
});
map.on('resize', () => {
map.invalidateSize();
Expand Down

0 comments on commit 37716bf

Please sign in to comment.