JamesLMilner/terra-draw
关于
用于在地图上绘图的库,内置对 Mapbox、MapLibre、Google Maps、OpenLayers 和 Leaflet 的支持。
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +5
- 1个月
- +11
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Frictionless map drawing across mapping libraries.
Terra Draw centralizes map drawing logic and provides a host of out-of-the-box drawing modes that work across different JavaScript mapping libraries. It also allows you to bring your own modes!

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 |
Getting Started
Please see the the getting started guide - this provides a host of information on how to get up and running with Terra Draw. You can see the auto generated API docs on the Terra Draw website.
Releases and Changelogs
We create GitHub releases when we release new packages. We also keep automated changelogs that are created for each package upon release, based off of the conventional commits format. You can find the generated CHANGELOG.md file in the corresponding package folder.
Development & Contributing
- For development, please see the the development documentation
- For guidance on contributing, please see the the contributing documentation
Project Website
You can check out the official Terra Draw website at terradraw.io. If you are interested in contributing to the website please see this repository.
Sponsorship
Terra Draw is made possible by companies and organisations that want to see it thrive. Please see the Sponsorship page for more information about how to sponsor the work done here.
Contact
Email: [email protected]
License
探索相关项目
加载中…