maps icon indicating copy to clipboard operation
maps copied to clipboard

Mapview.Flyto method doesn't work.

Open panda919 opened this issue 7 years ago • 2 comments

I updated mapbox plugin from 6.1.3 to 7.0.0-rc2. I try to call MapView.flyto method in my app. But it seems this method is using MapView.setcamear method. I got SetCamrea method is deprecated. But API document mentioned MapView compoenet include fl;yto method yet. And, My app using flyTo method. I have no idea for it.

panda919 avatar Jun 10 '19 08:06 panda919

I think that method is deprecated. There is an example for FlyTo : https://github.com/react-native-mapbox-gl/maps/blob/ec27927cd5b544dfdb9c536e7857fd9bb759ccdf/example/src/examples/FlyTo.js

I am following that, by changing centerCoordinate via state :) Hope it helps.

MariaSyed avatar Jun 10 '19 08:06 MariaSyed

@mariaSyed, this is correct. Thanks for clarifying.

kristfal avatar Jun 10 '19 09:06 kristfal