nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 697 forks source link

ImageSource Not updating coordinates. #1457

Open nzwnabdulwahid opened 5 years ago

nzwnabdulwahid commented 5 years ago

Hi everyone, I am stuck with an issue here, not sure if its bug or not. Down here as you can see my ImageSource was bordered by a ShapeSource (white border) image

As you can see when I zoom, I update the state containing the coordinates. The ShapeSource would update its shape, but the bounding box for ImageSource stay the same.

image

Is there anything I can do to make sure the coordinate for shapesource is also updated ?