mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 14:01:42 +03:00
1 parent
89975dc505
commit
7e9cf35c28
1 file changed
+10
@@ -6,9 +6,19 @@ import { convertFrom } from './geo-coordinates-converter.service';
|
|||||||
import { objectArrayToData } from '@/utils/objectarray.export';
|
import { objectArrayToData } from '@/utils/objectarray.export';
|
||||||
import { useQueryParam, useQueryParamOrStorage } from '@/composable/queryParams';
|
import { useQueryParam, useQueryParamOrStorage } from '@/composable/queryParams';
|
||||||
import proj4 from 'proj4';
|
import proj4 from 'proj4';
|
||||||
|
|
||||||
import L from 'leaflet';
|
import L from 'leaflet';
|
||||||
import 'leaflet/dist/leaflet.css';
|
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 { t } = useI18n();
|
||||||
|
|
||||||
const decimal = reactive({
|
const decimal = reactive({
|
||||||
|
|||||||
Reference in new issue
Block a user