mapbox-maps-android
mapbox-maps-android copied to clipboard
Getting "Image coordinates must be an array of four longitude latitude pairs" error when calling setCoordinates(LatLngQuad latLngQuad)
After update to mapbox version 9.6.1 we are getting "Image coordinates must be an array of four longitude latitude pairs" error when calling setCoordinates(LatLngQuad latLngQuad) on ImageSource object.
It looks like the problem might be in native code bellow:.
if (!isArray(*coordinatesValue) || arrayLength(*coordinatesValue) != 4) {
error.message = "Image coordinates must be an array of four longitude latitude pairs";
return nullopt;
}
I have the same issue