I am trying to get the map location point of my current location. I do,
mapView.locationDisplay.start {
[weak self] (error:Error?) -> Void in
if let error = error {
// show error
} else {
// get the map location
let currentLocation : AGSPoint = mapView.mapLocation;
}
}
current location point always gives me 0.0 for x and y values, do we have to consider anything here !!
using swift 4, ArcGIS iOS SDK v100.2.1