- Introduced MapErrorBoundary component to handle map loading errors gracefully. - Enhanced MapView with a reconnection status indicator for live updates. - Added tile freshness animation to indicate updated tiles visually. - Preloaded marker icon images to improve rendering performance. - Updated various pages to utilize the new MapErrorBoundary for better user experience.
15 lines
355 B
Vue
15 lines
355 B
Vue
<template>
|
|
<div class="h-full min-h-0">
|
|
<MapPageWrapper>
|
|
<MapErrorBoundary>
|
|
<MapView :character-id="characterId" />
|
|
</MapErrorBoundary>
|
|
</MapPageWrapper>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const route = useRoute()
|
|
const characterId = computed(() => Number(route.params.characterId) || -1)
|
|
</script>
|