Skip to content

maptoolkit/maps-js

Repository files navigation

Maptoolkit Maps JS

License Version Downloads

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. Ships with built-in TypeScript types.

Installation

npm

npm install @maptoolkit/maps

CDN

<link rel="stylesheet" href="https://static.maptoolkit.net/mtk/v11/maps.css" />
<script src="https://static.maptoolkit.net/mtk/v11/maps.js"></script>

The v11 path always resolves to the latest 11.x.x release.

Basic 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,
});

Documentation

API Key

Using the underlying geospatial services requires a valid API key. 🔑 Get your API key here.

License

Maptoolkit Maps JS is open-source under the BSD 3-Clause License.

About

Maps SDK made by Maptoolkit, powered by MapLibre GL JS

Topics

Resources

License

Stars

0 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors