The part of a CustomGeoJSONModuleConfig that survives JSON, for saving getConfig() and replaying it with applyConfig().
getConfig()
applyConfig()
It leaves out images: no CustomGeoJSONImageData survives JSON, so a replay passes them again.
images
const saved = JSON.stringify({ ...custom.getConfig(), images: undefined });const state: CustomGeoJSONModuleSerializableConfig = JSON.parse(saved);custom.applyConfig({ ...state, images: markerImages }); Copy
const saved = JSON.stringify({ ...custom.getConfig(), images: undefined });const state: CustomGeoJSONModuleSerializableConfig = JSON.parse(saved);custom.applyConfig({ ...state, images: markerImages });
The part of a CustomGeoJSONModuleConfig that survives JSON, for saving
getConfig()and replaying it withapplyConfig().