Tuesday, 15 February 2011

How to enable google maps android api for smooth two finger zoom? -



How to enable google maps android api for smooth two finger zoom? -

on original google maps if utilize 2 fingers zoom in or out zoom animation not stop after releasing screen. continues zoom in or out respectively little more. nice, on google maps api when zoom in or out 2 fingers zoom animation stops release fingers screen. there way enable feature? there is.. don't know name of effect... maybe zoom echo? :)

try this:

uisettings uisettings = mmap.getuisettings(); uisettings.setzoomgesturesenabled(true); uisettings.setzoomcontrolsenabled(true);

more here: http://developer.android.com/reference/com/google/android/gms/maps/uisettings.html

android google-maps

No comments:

Post a Comment