mapbox-gl-draw
Draw tools for Mapbox GL JS that let users draw and edit points, lines and polygons on a web map. It is used for adding simple editing features to map apps.
Share on XLicense: ISC
Overview
Mapbox GL Draw adds drawing and editing of map features to maps built with mapbox-gl-js. It is installed from npm or loaded from a CDN, comes with its own CSS, and is added to a map as a control. Developers use it when a web map needs users to sketch or modify geometry, and the project accepts new behavior through custom modes.
Key features
- Adds drawing and editing of features to mapbox-gl-js maps
- Added to a map as a control with a configurable position
- Ships with CSS that must be included in the build
- Custom modes extend interactions; TypeScript types come from DefinitelyTyped
Best for
Developers who already use mapbox-gl-js and want users to draw and edit features on the map. It requires mapbox-gl-js, and new behavior is expected to start as a custom mode.
- Upstream
- mapbox/mapbox-gl-draw
- Fork on GitHub
- Guo-astro/mapbox-gl-draw
- Upstream stars
- 1.1k
- Category
- Maps and geospatial
- Language
- JavaScript
- License
- ISC
- Forked
- 2020-11-01
- Sync status
- In syncLast synced 2026-09-29
More in Maps and geospatial
An open source command line toolkit that turns drone, balloon or kite photos into maps, point clouds, 3D models and elevation models. Used for aerial mapping and surveying.
Forked 2026-06-09Last synced 2026-09-29License: AGPL-3.0Maps and geospatialGitHub
A mobile web prototype for map lighting challenges. An organizer picks a real area and shares a link, and participants light up map cells by walking around it.
Forked 2026-06-09Last synced 2026-09-29No license declaredMaps and geospatialGitHub
A web app that generates a 3D map of real cities with building and road data, built with React Three Fiber. Maps can be exported as GLB files.
Forked 2026-05-09Last synced 2026-09-29License: MITMaps and geospatialGitHub
An open-source library for showing interactive vector tile maps in iOS, Android and desktop apps. It uses the GPU for fast rendering and is used to add maps to native applications.
Forked 2025-12-31Last synced 2026-09-29License: BSD-2-ClauseMaps and geospatialGitHub