diff --git a/client/components/Map/Vehicles/Item/MapVehiclesItem.tsx b/client/components/Map/Vehicles/Item/MapVehiclesItem.tsx index afdb45a3..2e2b2356 100644 --- a/client/components/Map/Vehicles/Item/MapVehiclesItem.tsx +++ b/client/components/Map/Vehicles/Item/MapVehiclesItem.tsx @@ -62,13 +62,12 @@ export class MapVehiclesItemComponent extends Component { } getIcon() { - const { id, num, course, type, accessibility, warning } = this.props; + const { id, num, course, type, accessibility, warning, map } = this.props; const isCourseEast = course > EAST_COURSE_RANGE.left && course < EAST_COURSE_RANGE.right; return new L.DivIcon({ - iconSize: [33, 28], - iconAnchor: [16.5, 14], - popupAnchor: [0, -14], + iconSize: [22, 15], + iconAnchor: [11, 25], className: `${cn(styles.MapVehicle)}`, html: ReactDOMServer.renderToStaticMarkup(