Google Map Tags - IOS

Appium: Version 1.5.2 (Ara)

I’m able to click the google map tags on Android application using:
MobileElement objGoogleTag = androiddriver.findElement(By.xpath("//*[contains(@content-desc,’"+strName+"’)]")).click();

Has anyone figured out a way to do it on IOS? Is there a attribute that I have to get my developers to start using?

Thanks for any assistance you can provide.

I’ve figured it out for Android

try
{
List objGoogleMap = androiddriver.findElements(By.xpath("//*[contains(@content-desc,‘Google Map’)]"));
List objGoogleMarkers = objGoogleMap.get(0).findElements(By.className(“android.view.View”));
for (MobileElement objGoogleMarker : objGoogleMarkers)
{
System.out.println(objGoogleMarker.getAttribute(“name”));
if(objGoogleMarker.getAttribute(“name”).contains(strMarkerName))
{
objGoogleMarker.click();
break;
}
}
}
catch (Exception e)
{
System.out.println("");
}