Show callout

This sample illustrates how to show callouts on a map in response to user interaction.

Coordinates displayed in a callout

Instructions

Tap on the map to show that point's coordinates.

Code

<UserControl 
    x:Class="ArcGISRuntime.UWP.Samples.ShowCallout.ShowCallout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls"
    mc:Ignorable="d" 
    d:DesignHeight="300" d:DesignWidth="300">
    <esriUI:MapView x:Name="MyMapView" />
</UserControl>


In this topic
  1. Instructions
  2. Code