AnsweredAssumed Answered

Odd behavior with Android ZoomControls and Callout

Question asked by andrewb on May 14, 2012
Latest reply on May 25, 2012 by andrewb
I have encountered some odd behavior when using the stock Android zoom controls. while a callout is visible.  Here is what I've found:
1.  show a callout.
2.  while the callout is shown, zoom in/out on the map using the zoom controls
3.  hide the callout (I do it via a button on the callout itself)
4.  zoom in/out using the zoomcontrols. 

After zooming in/out the callout reappears.  I'm not sure what is showing the callout again because while debugging my callout.show() is not being hit again.

Here is my (very simple) code for zooming in/out:
ZoomControls zoomCtl = (ZoomControls) findViewById(R.id.zoomControls1);  zoomCtl.setOnZoomInClickListener(new View.OnClickListener(){    @Override    public void onClick(View v){     mMapView.zoomin();    }   });   zoomCtl.setOnZoomOutClickListener(new View.OnClickListener() {    @Override    public void onClick(View v) {     mMapView.zoomout();    }   });  


Any ideas?

Outcomes