Fix: fix crash

This commit is contained in:
Pieter Vander Vennet 2025-08-23 14:08:04 +02:00
parent 17f097851a
commit a570e29242

View file

@ -231,7 +231,8 @@ export class PointRenderingLayer {
let store: Store<Record<string, string>>
if (this._fetchStore) {
store = this._fetchStore(feature.properties.id)
} else {
}
if(!store){
store = new ImmutableStore(<OsmTags>feature.properties)
}
const { html, iconAnchor } = this._config.RenderIcon(store, { metatags: this._metatags })