Terra Draw
A library for drawing on maps that supports Mapbox, MapLibre, Google Maps, OpenLayers and Leaflet out the box
Library Support
Terra Draw uses the concept of 'adapters' to allow it to work with a host of different mapping libraries. Built-in adapters are currently exposed as different packages in this monorepo; you can find out more in the adapters guide. The currently supported libraries are:
| Library | Version supported | npm package |
| Leaflet | v1 | terra-draw-leaflet-adapter |
| OpenLayers | v10 | terra-draw-openlayers-adapter |
| MapLibre GL JS | v4/5 | terra-draw-maplibre-gl-adapter |
| Google Maps JS API | v3 | terra-draw-google-maps-adapter |
| Mapbox GL JS | v3 | terra-draw-mapbox-gl-adapter |
| ArcGIS JavaScript SDK | v4 | terra-draw-arcgis-adapter |