Skip to content

Commit

Permalink
Check for icon existance
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Dec 6, 2024
1 parent 94a23ae commit 31adb18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/web/src/components/CloudTAK/util/Feature.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31adb18

Please sign in to comment.