Files
tabler/core/js/tabler-vector-map.ts
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

8 lines
438 B
TypeScript

// The vector map ships as its own bundle, so pages without a map do not carry
// it. Load it after `tabler.js`: the UMD build adds `VectorMap` to the `tabler`
// global. The maps themselves are separate files in `dist/js/maps/`.
import './src/vector-map'
export { default as VectorMap } from './src/vector-map'
export type { VectorMapData, VectorMapLine, VectorMapMarker, VectorMapRegion, VectorMapTooltipItem } from './src/vector-map'