mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 05:06:55 +04:00
- 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
19 lines
343 B
Plaintext
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>
|