To enable zoom button in react-native-maps
Asked Answered
G

1

2

I am using react-native-maps in my native project
I need the default zoom control button to zoom in and out
How to enable zoom button/control in react-native-maps

Gantry answered 6/12, 2017 at 14:28 Comment(3)
Going through same issue. Have you got any solution for this?Borden
there's no default property for zoom button in react-native-maps if we need zoom button we have to create our own @BordenGantry
thats nasty, as i have seen props for it on docs (enableZoomControl). And i am also facing problem with myLocationButton. It doesnt show up sometimes. Dont know when will we get a pure google maps services into react native.Borden
F
2

If you rotate the screen once, with enableZoomControl=true, It will show.

My problem is that it needs that rotation of the screen(device) to show the first time.

Felonry answered 9/4, 2018 at 22:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.