/// <summary> /// constructor /// </summary> public VRedlineCommand() { dbgResizable.ResizeMode = ResizeMode.CanResize; dbgResizable.Title = "отладочные сообщения"; dbgResizable.textBlock1.Text = "Redline log:\n"; vrlObj = new VRedlineImpl(this.log); } // public VRedlineCommand()
} // void onLayersInitialized(object sender, EventArgs args) /// <summary> /// Reload RL data if RL layer exists. /// Called from timer when map layers loaded. /// Set mapstate=Processing or Ready /// </summary> private void renewRL(ESRI.ArcGIS.Client.Map map) { // recreate RL layer, load RL content if (mapState != VMapState.Loaded) { return; } mapState = VMapState.Processing; log(string.Format("VPrintImpl.renewRL")); var gl = VRedlineImpl.reloadRLData(map, VRedlineImpl.layerID, VRedlineImpl.layerName); if (gl == null) { mapState = VMapState.Ready; log(string.Format("VPrintImpl.renewRL, graphic layer is null")); } return; } // private void renewRL()
private bool isText() { // markType contains 'текст' and currGeom is point return(VRedlineImpl.isText(currGeom, markType)); }