mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Point.fromLngLat is dangerous

Open eygraber opened this issue 3 years ago • 1 comments

I'm updating from v9 to v10, and (aside from the other massive amount of changes), the change from LatLng to Point is made very dangerous by the fact that Point.fromLngLat expects the longitude first, while LatLng had the latitude first.

At the very least there should be a Point.fromLatLng

eygraber avatar Dec 17 '21 05:12 eygraber

@eygraber thank you for your feedback. The use of the lnglat convention derives from the GeoJSON specification. We will consider your request for adding this convenience in a future version of v10.

ZiZasaurus avatar Dec 21 '21 15:12 ZiZasaurus