FieldValues: Use plain arrays instead of Vector (part 3 of 2) (#66612)

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Leon Sorokin
2023-04-20 09:59:18 -05:00
committed by GitHub
parent 24696d593b
commit b24ba7b7ae
109 changed files with 594 additions and 648 deletions

View File

@@ -234,7 +234,7 @@ export const routeLayer: MapLayerRegistryItem<RouteConfig> = {
if (pointIdx !== null) {
const out = getGeometryField(frame, location);
if (out.field) {
crosshairFeature.setGeometry(out.field.values.get(pointIdx));
crosshairFeature.setGeometry(out.field.values[pointIdx]);
crosshairFeature.setStyle(crosshairStyle);
}
}