public async Task Identify(Point position, MapPoint location, LayerCollection layerCollection)
{
try
{
IsIdentifying = true;
AnchorMapPoint = location;
IdentifyItems = ParseIdentifyResults(await IdentifyHelper.Identify(Controller, position, location, layerCollection));
SelectedItem = null;
ShowDetailView = false;
if (Count == 1)
{
ShowDetailView = true;
SelectedItem = IdentifyItems.First();
}
}
finally
{
IsIdentifying = false;
}
}