(Re)Implementing the map chooser.

This commit is contained in:
vdv committed 2022-11-28 19:33:02 +01:00
1 parent f10fa11348
commit 42d66ecfa5
11 files changed
+180 -113

No files matched your search

+4 -3
View File
@@ -1,12 +1,13 @@
import { Circle, Fill, Text, Icon, Stroke, Style } from 'ol/style';
import startIcon from '../../icons/flag-start-b-svgrepo-com-green.svg';
import finishIcon from '../../icons/flag-finish-b-o-svgrepo-com-red.svg';
import wptIcon from '../../icons/location-pin-svgrepo-com-green.svg';
import wptIcon from '../../icons/location-pin-svgrepo-com-red.svg';
import { Feature } from 'ol';
const trackStrokeStyle = new Stroke({
color: 'blue',
width: 2,
width: 3,
});
const trtksegStartImageStyle = new Icon({
@@ -26,7 +27,7 @@ const trtksegFinishImageStyle = new Icon({
const wptImageStyle = new Icon({
src: wptIcon,
scale: 0.1,
opacity: 0.8,
opacity: 0.9,
anchor: [0.5, 1],
});