Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Detect a tap and add a pin to the map?

$
0
0

I'm new to Xamarin, and am developing an application that will use a map. We're using Xamarin Forms, and I am able to properly get a map displayed. I can scroll around, etc.

I want to simply detect a tap and drop a pin where the user tapped, but I can't seem to get the Map to detect that it's been tapped. I've tried adding a GestureRecognizer to the Map, but that doesn't seem to help.

Is there a way, using Xamarin Forms to do this in a cross-platform manner? Or will I have to implement this functionality twice, once on Android and once on iOS?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>