Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zooming in on Android #1

Closed
amjd opened this issue Nov 12, 2015 · 1 comment
Closed

Zooming in on Android #1

amjd opened this issue Nov 12, 2015 · 1 comment

Comments

@amjd
Copy link

amjd commented Nov 12, 2015

Hey,

How can we zoom in on a map instance on Android? I tried this but it didn't work:

var cuf = new com.google.android.gms.maps.CameraUpdateFactory();
gMap.animateCamera(cuf.zoomTo(14),1000,null);
@amjd
Copy link
Author

amjd commented Nov 12, 2015

Figured out the correct way to do it:

var cuf = new com.google.android.gms.maps.CameraUpdateFactory.newLatLngZoom(latLng,14);
gMap.animateCamera(cuf,1000,null);

@amjd amjd closed this as completed Nov 12, 2015
dapriett pushed a commit that referenced this issue Mar 15, 2016
dapriett pushed a commit that referenced this issue Dec 19, 2019
Attache IOS delegate (and cleanup), Fix emit level selected event (ios and android)
febriarief pushed a commit to febriarief/esolution-nativescript-google-maps-sdk that referenced this issue Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant