Fix issue 55626 (#55636)

Reset the mapping table for Dynamic Geojson
pull/56478/head^2
Nicolas Janicaud Gondoin 3 years ago committed by GitHub
parent 48f0f4bb91
commit c1d6df4eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      public/app/plugins/panel/geomap/layers/data/geojsonDynamic.ts

@ -172,6 +172,7 @@ export const dynamicGeoJSONLayer: MapLayerRegistryItem<DynamicGeoJSONMapperConfi
if (frame) {
const field = findField(frame, config.idField);
if (field) {
idToIdx.clear();
field.values.toArray().forEach((v, i) => idToIdx.set(v, i));
}

Loading…
Cancel
Save