Need working code to perform Zoom in/out on google map app

Hi,
Platform- Android
Language- Java
Native App
I am Unable to zoom on google map component.
I need to zoom out/in around the location pin.
I have used zoom(), zoom(int x, int y) but nothing works. Map does not zoom but pans.

Take a look at the TouchActions like performTouchAction or performMultiTouchAction:

http://appium.github.io/java-client/io/appium/java_client/AppiumDriver.html

Thanks Wreed for your response.
I even tried with TouchAction and MultiTouchAction but it did not work for me.