Files
tabler/shared/components/cards/MapVectorCard.astro
codecalm 874897218f Add the VectorMap plugin and move the vector map demos to it
- world map generated from Natural Earth, shipped as tabler-vector-map.js and maps/world.js
- values, markers, lines, tooltip and zoom
- demo, docs and screenshots no longer load jsVectorMap
2026-10-05 12:36:31 +02:00

19 lines
343 B
Plaintext

---
import MapVector from '@shared/components/demo/MapVector.astro'
import CardTitle from '@ui/CardTitle.astro'
interface Props {
title?: string
}
const { title } = Astro.props
const map = 'world'
---
<div class="card">
<div class="card-body">
{title && <CardTitle>{title}</CardTitle>}
<MapVector mapId={map} />
</div>
</div>