google map zoom problem


Last Updated:

  1. SilentCoder

    SilentCoder New Member This Topic's Starter

    Joined:
    Jun 17, 2010
    Messages:
    3
    Likes Received:
    0
    I am using google maps in my android application. I want to implement onDoubleTap() zoom in function. I have written some code but still i need some help. i am sharing my code here. I will really appriciate if somebody point out my mistake or if im on right track le me know what to do next. i am struck at this point.

    @Override
    public boolean onTouchEvent(MotionEvent event){
    this.detector.onTouchEvent(event);
    return super.onTouchEvent(event);
    }
    @Override
    public boolean onDoubleTap(MotionEvent e) {
    return false;
    }
    @Override
    public boolean onDoubleTapEvent(MotionEvent e) {
    // TODO Auto-generated method stub
    return false;
    }

    BR,
     

    Advertisement

Share This Page

Loading...