Browse Source

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

pull/12883/head
Igor Kulikov 2 years ago
parent
commit
23a71b36fd
  1. 6
      ui-ngx/src/app/shared/models/widget/maps/map.models.ts

6
ui-ngx/src/app/shared/models/widget/maps/map.models.ts

@ -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',

Loading…
Cancel
Save