turf_dart
turf_dart copied to clipboard
Implement coordinate signing/normalization mechanism from #46
As described in comment: https://github.com/dartclub/turf_dart/issues/46#issuecomment-1057465724
The decision was, to keep
Positionunsigned by default, but it can be converted to a signed coordinate easily!The imagined behaviour with signed/unsigned is similar to
DateTime, which can be local or UTC. The DateTime has conversion functionstoLocal()andtoUTC(), that return a new object. Internally it uses a boolean to save the state (local = true/false).
Tasks:
- [x] Implementation
- [ ] Documentation
- [ ] Tests
@armantorkzaban I will continue to work on this in the next days