public EsriMap3DMenu(EsriMap3D map, List<EsriMap3D.EsriMapLayer> layers) : this() { MyMap = map; MyLayers = layers; MyLayerMapping = new Dictionary<LayerInfo, ArcGISDynamicMapServiceLayer>(); }
// Constructor public EsriMap3D() { InitializeComponent(); MyEsriMapLayers = new List<EsriMapLayer>(); MyContextMenu = new EsriMap3DMenu(this, MyEsriMapLayers); ExtentChangedEventHandler = new EventHandler<ExtentEventArgs>(MyMap_ExtentChanged); ExtentChangingEventHandler = new EventHandler<ExtentEventArgs>(MyMap_ExtentChanging); sInstance = this; }
public static void SetVisualToolsVisibility(EsriMap3D element, Boolean value) { element.SetValue(VisualToolsVisibilityProperty, value); }
public static Boolean GetVisualToolsVisibility(EsriMap3D element) { return (Boolean)element.GetValue(VisualToolsVisibilityProperty); }