You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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;
}
The text was updated successfully, but these errors were encountered:
This PR basically backports an existing function from
[https://github.com/flutter-mapbox-gl/maps](https://github.com/flutter-mapbox-gl/maps).
Unlike that one, this does not suffer from
mapbox/mapbox-maps-android#302 and it works
nicely on both iOS and Android. The web version is still unimplemented,
similar to existing image source related functions.
(Sorry a thing I'm building only requires `updateImageSource` on both
iOS and Android.)
---------
Co-authored-by: m0nac0 <58807793+m0nac0@users.noreply.github.com>
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:.
The text was updated successfully, but these errors were encountered: