Examples
NBC Plume Dispersion
Click to place a hazard source and model wind-driven NBC plume dispersion with lethal, danger, and caution zones using Gaussian dispersion.
Usage
<script setup lang="ts">
import { VMap, VControlNavigation } from '@geoql/v-maplibre';
const colorMode = useColorMode();
const mapStyle = computed(() =>
colorMode.value === 'dark'
? 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json'
: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json',
);
</script>
<template>
<VMap :options="{ style: mapStyle, center: [72.0, 26.3], zoom: 11 }">
<VControlNavigation position="top-right" />
</VMap>
</template> Components 2
<VMap />@geoql/v-maplibre<VControlNavigation />@geoql/v-maplibre
NBC Plume
Hazard Type
Wind Direction: 225° SW
N
S
W
E
Wind Speed: 8 m/s
Danger Zones
Lethal (0–2 km)
Danger (0–5 km)
Caution (0–10 km)
Click on the map to place a hazard source. The plume will expand downwind based on wind direction and speed.