Hi All ,

I have extended a MapActivity and add a marker over it like
this ..........

 MapView mapView = (MapView) findViewById(R.id.mapView);

        mapOverlays =mapView.getOverlays();
        drawable = this.getResources().getDrawable
(R.drawable.androidmarker);
        itemizedOverlay = new SimpleOutItemizedOverlay(drawable,this);


        GeoPoint point = new GeoPoint(19240000,-99120000);
        OverlayItem overlayitem = new OverlayItem(point, "", "");

        itemizedOverlay.addOverlay(overlayitem);
        mapOverlays.add(itemizedOverlay);



         mapView.setBuiltInZoomControls(true);

in my SimpleOutItemizedOverlay class which inherits from
ItemizedOverlay I only want to Listen only when particular marker
(place on map ) is touched or clicked .
  @Override
     public boolean onTouchEvent(MotionEvent event, MapView mapView)

Listen on whole Map . I just want to listen on a particular markers
touched or Clicked Event. let me know how can I setListener on that
Event.

Thanks
Rizwan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to