UI: Map widget: Improve default trip data layer settings.

This commit is contained in:
Igor Kulikov 2025-03-11 10:33:33 +02:00
parent ae95cef789
commit 23a71b36fd

View File

@ -438,19 +438,19 @@ export const defaultBaseTripsDataLayerSettings = (mapType: MapType): Partial<Tri
rotateMarker: true, rotateMarker: true,
offsetAngle: 0, offsetAngle: 0,
markerShape: { markerShape: {
shape: MarkerShape.tripMarkerShape1 shape: MarkerShape.tripMarkerShape2
}, },
markerIcon: { markerIcon: {
iconContainer: MarkerIconContainer.tripIconContainer1, iconContainer: MarkerIconContainer.tripIconContainer1,
icon: 'arrow_forward' icon: 'arrow_forward'
}, },
markerImage: { markerImage: {
image: '/assets/markers/tripShape1.svg' image: '/assets/markers/tripShape2.svg'
}, },
markerOffsetX: 0.5, markerOffsetX: 0.5,
markerOffsetY: 0.5, markerOffsetY: 0.5,
showPath: true, showPath: true,
pathStrokeWeight: 2, pathStrokeWeight: 4,
pathStrokeColor: { pathStrokeColor: {
type: DataLayerColorType.constant, type: DataLayerColorType.constant,
color: '#307FE5', color: '#307FE5',