SDKs and Libraries
SDKs and Libraries
The Maptoolkit community tile server serves vector tiles. Vector-capable libraries load the style URL directly; libraries without native vector support render the style through a plugin. The same tiles power web, mobile, and desktop maps.
Pick your library below. Each page has setup instructions and a working example.
JavaScript Libraries
| Library | Tiles | Notes |
|---|---|---|
| MapLibre GL JS | Vector | Recommended. Loads the style URL directly. |
| Leaflet | Vector | Via the @maplibre/maplibre-gl-leaflet plugin. |
| OpenLayers | Vector | Via the ol-mapbox-style plugin. |
| Deck.gl | Vector | Via the MVTLayer. |
| CesiumJS | Vector | Via a vector-tile imagery provider. |
| kepler.gl | Vector | As a custom map style; no native MapLibre support. |
Mobile SDKs
| Platform | Tiles | Notes |
|---|---|---|
| MapLibre Native iOS | Vector | Set the style URL on the map view. |
| MapLibre Native Android | Vector | Set the style URL on the map. |
| Flutter | Vector | maplibre_gl, or flutter_map + vector_map_tiles. |
| React Native | Vector | Via @maplibre/maplibre-react-native. |
Attribution
Whatever library you use, every map must show the Maptoolkit logo and the © Maptoolkit © OSM copyright line. See Quick Start - Add attribution.