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

Getting "Image coordinates must be an array of four longitude latitude pairs" error when calling setCoordinates(LatLngQuad latLngQuad)

Open intra opened this issue 4 years ago • 1 comments

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;
}

intra avatar May 01 '21 08:05 intra

I have the same issue

hungtrn75 avatar Oct 11 '22 02:10 hungtrn75