diff --git a/src/tools/geo-coordinates-converter/geo-coordinates-converter.vue b/src/tools/geo-coordinates-converter/geo-coordinates-converter.vue index e965d569..8fd7b092 100644 --- a/src/tools/geo-coordinates-converter/geo-coordinates-converter.vue +++ b/src/tools/geo-coordinates-converter/geo-coordinates-converter.vue @@ -6,9 +6,19 @@ import { convertFrom } from './geo-coordinates-converter.service'; import { objectArrayToData } from '@/utils/objectarray.export'; import { useQueryParam, useQueryParamOrStorage } from '@/composable/queryParams'; import proj4 from 'proj4'; + import L from 'leaflet'; import 'leaflet/dist/leaflet.css'; +import markerIconUrl from 'leaflet/dist/images/marker-icon.png'; +import markerIconRetinaUrl from 'leaflet/dist/images/marker-icon-2x.png'; +import markerShadowUrl from 'leaflet/dist/images/marker-shadow.png'; + +L.Icon.Default.prototype.options.iconUrl = markerIconUrl; +L.Icon.Default.prototype.options.iconRetinaUrl = markerIconRetinaUrl; +L.Icon.Default.prototype.options.shadowUrl = markerShadowUrl; +L.Icon.Default.imagePath = ''; + const { t } = useI18n(); const decimal = reactive({