I want to create Mapview control in xaml as below but I get an error "The name Mapview does not exist in namespace http://schemas.esri.com/arcgis/client/2009"

<esri:MapView x:Name="MyMapView">
    <esri:Map Background="White" Name="mainDisplay" WrapAround="True" IsLogoVisible="False" 

The only reason to add Mapview is to know where the user has clicked on the map by its MapViewTapped MapViewInputEventArgs.location. Please note that the ESRI.ArcGIS.Client.Toolkit.dll is added in my project - References.

1 Answer 1


You are using ArcGIS Runtime SDK for WPF. Actually, there is no MapView object in it. The MapView object is in ArcGIS Runtime SDK for .NET, you will find MapView.MapViewTapped Event in here. Instead, you can use OnMouseDown or TouchDown event in ArcGIS Runtime SDK for WPF.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.