Examples
Artillery Range Planner
Click to place artillery positions and visualize range fan polygons with min/max range arcs. Supports howitzers, mortars, and MLRS with adjustable bearing.
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: [71.9, 26.9], zoom: 10 }">
<VControlNavigation position="top-right" />
</VMap>
</template> Components 2
<VMap />@geoql/v-maplibre<VControlNavigation />@geoql/v-maplibre
Artillery
Weapon Type
Range: 4.0–30 km
Positions (3/6)
Bearing: 180°
Click on the map to place artillery positions (max 6). Select a position to adjust its bearing.