<esri:ArcGISLocalFeatureLayer ID="DtedFootprint" LayerName="DtedFootprint" Path="C:\\xyz\\yyyyy\\maps\\DtedFootprint.mpk" />
var dted = _view.MapControl.Layers["DtedFootprint"] as GraphicsLayer; dted.Initialized += new EventHandler<EventArgs>(dted_Initialized);
void dted_Initialized(object sender, EventArgs e) { var layer = sender as ArcGISLocalFeatureLayer; layer.Service.Stop(); layer.Service.Path = System.IO.Path.Combine(sPackageLocation, sDtedPackage); layer.Service.Start(); }
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.