This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Enforce Wrap At Java LatLng Level #4522
Labels
Android
Mapbox Maps SDK for Android
refactor
SEMVER-MAJOR
Requires a major release according to Semantic Versioning rules
Milestone
While working on #4444 we discovered that Core GL is no longer wrapping all Longitude values for the C++
LatLng
objects that it generates and then passes to the JavaLatLng
(done for anti merdian), which means that the SDK can't guarantee that they're wrapped. This is important as it's been a tacitly compatible with the Google Maps APILatLng
until then.To resolve this let's make sure that both
Latitude
andLongitude
values are clamped to their respective ranges and deprecate the stopgapLatLng.wrap()
method. Let's also do a thorough dependency evaluation to ensure that all uses are covered.Related Issues: #4475 and #4477
/cc @mapbox/mobile
The text was updated successfully, but these errors were encountered: