diff --git a/api/web/src/components/CloudTAK/util/Feature.vue b/api/web/src/components/CloudTAK/util/Feature.vue index 4b50071ac..dbf49c4b7 100644 --- a/api/web/src/components/CloudTAK/util/Feature.vue +++ b/api/web/src/components/CloudTAK/util/Feature.vue @@ -148,6 +148,9 @@ watch(canvas, async () => { if (!canvas.value || !mapStore.map) return; const icon = mapStore.map.getImage(props.feature.properties.icon) + + if (!icon) return; + const context = canvas.value.getContext('2d'); canvas.value.height = 20;