mirror of
https://github.com/tabler/tabler.git
synced 2026-10-12 13:17:00 +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
8 lines
438 B
TypeScript
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'
|