_mobileServiceCache = new MobileCache(@\Temp\ServiceCache); mobileServiceConnection1.Url = @"http://<ourserver>.com/ArcGIS/services/FieldLayout/Map1/MapServer/MobileServer"; mobileServiceConnection1.CreateCache(_mobileServiceCache); _mobileServiceCache.Open(); var agent = new MobileCacheSyncAgent(_mobileServiceCache, mobileServiceConnection1); agent.DownloadExtent(_mobileServiceCache.GetExtent(), 0, 0); map1.DataSources.Add(_mobileServiceCache);
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.