Deprecates TerraDrawGreatCircleMode in favour of the projection and insertCoordinates properties for TerraDrawLineStringMode
Removes existing great circle in generation of a simpler new function generateGreatCircleCoordinates
insertCoordinates property that allows you to automatically insert coordinates between drawn lines. Currently supports one strategy with is amount which allows you to set an amount of coordinates to insert as you draw. This could be opened up in future to add say a distance strategy.
Small update to the guides to talk a bit about projections (although this is very WIP)
Additions to E2E tests for TerraDrawGreatCircleMode
Link to Issue
262
Also relates to moving forward with releasing version 1
PR Checklist
[x] There is a associated GitHub issue
[x] If I have added significant code changes, there are relevant tests
[x] If there are behaviour changes these are documented
Description of Changes
TerraDrawGreatCircleMode
in favour of theprojection
andinsertCoordinates
properties forTerraDrawLineStringMode
generateGreatCircleCoordinates
insertCoordinates
property that allows you to automatically insert coordinates between drawn lines. Currently supports one strategy with isamount
which allows you to set an amount of coordinates to insert as you draw. This could be opened up in future to add say adistance
strategy.Link to Issue
262
Also relates to moving forward with releasing version 1
PR Checklist