JamesLMilner / terra-draw

A library for drawing on maps that supports Mapbox, MapLibre, Google Maps, OpenLayers and Leaflet out the box
https://terradraw.io
MIT License
447 stars 50 forks source link

[Deprecation Warning] TerraDrawGreatCircleMode #262

Closed JamesLMilner closed 2 months ago

JamesLMilner commented 2 months ago

As we move towards a more unified approach handling how we handle geographic as well as web mercator geometries, TerraDrawGreatCircleMode will be deprecated in favour of new functionality in TerraDrawLineStringMode. This will have a few benefits:

The original mode code can always be copy and pasted an used as a custom mode in your own code if required.

JamesLMilner commented 2 months ago

TerraDrawGreatCircleMode is set to be remove on next alpha release

JamesLMilner commented 2 months ago

This is deprecated in 0.0.1-alpha.69. Please use the TerraDrawLineStringMode with projection: "globe" and insertPoints if you want to replicate the functionality.