AnsweredAssumed Answered

Xamarin: Handling graphic click events

Question asked by flyinb on Apr 25, 2017
Latest reply on Apr 25, 2017 by flyinb

I want to be able to run some code when a graphic or feature is clicked on.

 

On the mapview, I can see a tap handler(OnGeoViewDoubleTapped and OnGeoViewTapped), but it returns the MapView and a point in the event.

 

I can't find in the FeatureTable or the GraphicsOverlay a way to handle a click event...IE run some code when a Feature or Graphic is clicked on.

 

The only solution i can see is to use the GeoViewInputEventArgs e, find the point they clicked on, then do a query to see what they clicked on.

 

Is anyone able to tell me how to properly handle a click event on a feature or graphic?

Outcomes