mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Reset the mapping table for Dynamic Geojson
(cherry picked from commit c1d6df4eb7
)
Co-authored-by: Nicolas Janicaud Gondoin <112407974+janicaud@users.noreply.github.com>
This commit is contained in:
parent
ece17f30ab
commit
f6d7f7dec6
@ -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…
Reference in New Issue
Block a user