Maptoolkit Maps JS
Maptoolkit Maps JS
Maps JS is the Maptoolkit JavaScript library for embedding interactive maps in web applications. It is built on top of MapLibre GL JS and extends it with Maptoolkit-specific controls, styles, and services.
Installation
npm install @maptoolkit/mapsBasic usage
import { Map } from "@maptoolkit/maps";
import "@maptoolkit/maps/css";
const map = new Map({
container: "map",
apiKey: "your-api-key",
center: [16.37, 48.21],
zoom: 12,
});Previous versions
The following versions are deprecated and no longer receive feature updates. They are listed here for reference only.
| Version | Notes |
|---|---|
| Maps JS v10 | Deprecated. Predecessor to current Maps JS. |
| Maps JS v8 | Deprecated. Legacy jQuery-based library, security updates only. |