OnTouchEvent in a MapItemizedOverlay
Posted
by Danilo
on Stack Overflow
See other posts from Stack Overflow
or by Danilo
Published on 2010-03-16T11:35:09Z
Indexed on
2010/03/16
13:36 UTC
Read the original article
Hit count: 201
Hi, newbie here ...
I have a MapView with a MapItemizedOverlay, like this :
Drawable drawable = this.getResources().getDrawable(R.drawable.androidmarker);
itemizedOverlay = new MapItemizedOverlay(drawable);
OverlayItem overlayitem = new OverlayItem(p, "", "");
itemizedOverlay.addOverlay(overlayitem);
mapOverlays.add(itemizedOverlay);
I want to know when the user touches the AndroiMarker, so I can show some info about that specific place. How do I do that ?
Tks in advance!
© Stack Overflow or respective owner