Exemplo n.º 1
0
 /// <summary>
 /// 在某个组的某个图层之前的位置加入新的图层
 /// </summary>
 /// <param name="layer"></param>
 /// <param name="targetGroup"></param>
 /// <param name="afterLayerHandle"></param>
 private void addLayer(object layer, int targetGroup, int afterLayerHandle)
 {
     LayerHelper.AddLayer(layer, targetGroup, afterLayerHandle);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 在某个组的最顶端加入新的图层
 /// </summary>
 /// <param name="layer"></param>
 /// <param name="targetGroup"></param>
 private void addLayer(object layer, int targetGroup)
 {
     LayerHelper.AddLayer(layer, targetGroup);
 }
Exemplo n.º 3
0
 /// <summary>
 /// 在最顶端的组中的最顶端加入新图层
 /// </summary>
 /// <param name="layer"></param>
 private void addLayer(object layer)
 {
     LayerHelper.AddLayer(layer);
 }
Exemplo n.º 4
0
 /// <summary>
 /// 图层树加入一组新的数据组
 /// </summary>
 /// <param name="name"></param>
 private void addGroup(string name)
 {
     LayerHelper.AddGroup(name);
 }
Exemplo n.º 5
0
 private void recover_btn_Click(object sender, EventArgs e)
 {
     LayerHelper.ZoomToLayer();
 }
Exemplo n.º 6
0
 /// <summary>
 /// 图层双击事件
 /// </summary>
 /// <param name="Handle"></param>
 private void legend1_LayerDoubleClick(int Handle)
 {
     //LayerHelper.ShowLayerProperties(Handle);
     legend1.SelectedLayer = Handle;
     LayerHelper.ZoomToLayer();
 }