feat: point vehicle location markers along their SIRI bearing - #1826
Quality Gate passed
Annotations
Check warning on line 64 in src/pages/components/map-related/MapLayers/MapIndexLayer.tsx
sonarqubecloud / SonarCloud Code Analysis
Prefer `.at(…)` over `[….length - index]`.
See more on https://sonarcloud.io/project/issues?id=hasadna_open-bus-map-search&issues=AZ_2jF8fg4WqQ2tBTjDp&open=AZ_2jF8fg4WqQ2tBTjDp&pullRequest=1826
Check warning on line 87 in src/pages/components/map-related/MapLayers/MapRouteLayer.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=hasadna_open-bus-map-search&issues=AZ_2u1AohSPxMcWXd7xo&open=AZ_2u1AohSPxMcWXd7xo&pullRequest=1826
Check warning on line 195 in src/pages/components/map-related/vehicleBearingGlyph.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=hasadna_open-bus-map-search&issues=AZ_2jF__g4WqQ2tBTjDq&open=AZ_2jF__g4WqQ2tBTjDq&pullRequest=1826
Check warning on line 204 in src/pages/components/map-related/vehicleBearingGlyph.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=hasadna_open-bus-map-search&issues=AZ_2u1GlhSPxMcWXd7xp&open=AZ_2u1GlhSPxMcWXd7xp&pullRequest=1826