AnsweredAssumed Answered

How to get viewpoint coordinates when user in online mode

Question asked by kamalmtxb2b on Jan 25, 2017
Latest reply on Jan 30, 2017 by rolson-esristaff

Hi all,


I want to save viewpoint coordinates when a user sees map in online mode and want to load tpk file with same viewpoint coordinates where a user has the last zoom in/out on the online map. Currently, I am using below handler to get viewpoint coordinates:


//handler call when user zoomin , zoomout

self.mapView.viewpointChangedHandler = { [weak self] () in

             ---->    //how to get viewpoint coordinates here



How do I get viewpoint coordinates, zoom level. Is there any property or method in swift.


Currently i am using ArcGIS runtime IOS sdk 100.0 in swift language.


Thanks is advance,