File tree Expand file tree Collapse file tree
src/tools/geo-coordinates-converter Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,19 @@ import { convertFrom } from './geo-coordinates-converter.service';
66import { objectArrayToData } from ' @/utils/objectarray.export' ;
77import { useQueryParam , useQueryParamOrStorage } from ' @/composable/queryParams' ;
88import proj4 from ' proj4' ;
9+
910import L from ' leaflet' ;
1011import ' leaflet/dist/leaflet.css' ;
1112
13+ import markerIconUrl from ' leaflet/dist/images/marker-icon.png' ;
14+ import markerIconRetinaUrl from ' leaflet/dist/images/marker-icon-2x.png' ;
15+ import markerShadowUrl from ' leaflet/dist/images/marker-shadow.png' ;
16+
17+ L .Icon .Default .prototype .options .iconUrl = markerIconUrl ;
18+ L .Icon .Default .prototype .options .iconRetinaUrl = markerIconRetinaUrl ;
19+ L .Icon .Default .prototype .options .shadowUrl = markerShadowUrl ;
20+ L .Icon .Default .imagePath = ' ' ;
21+
1222const { t } = useI18n ();
1323
1424const decimal = reactive ({
You can’t perform that action at this time.
0 commit comments