MapWindowDevelper:Layers

From MapWindow GIS

Jump to: navigation, search

MapWindow.Interfaces.Layers

The layers interface manages all the layers in the MapWindow.

Property Members

Name Access Summary
CurrentLayer : Int32 public Gets or sets the current layer handle.
Groups : Groups public Allows access to group properties in the legend.
Item : Layer public Returns the layer object corresponding the the specified LayerHandle
NumLayers : Int32 public Returns the number of layers loaded in the MapWindow. Drawing layers are not counted.

Method Members

Name Access Summary
Add() : Layer[] public Default add layer overload. Displays an open file dialog
Add() : Layer public Adds a Grid layer to the MapWindow.
Add() : Layer public Adds a Grid layer to the MapWindow, with the specified coloring scheme.
Add() : Layer public Adds a Grid object to the MapWindow with the specified properties.
Add() : Layer public Adds a Grid layer to the MapWindow with the specified layer name.
Add() : Layer public Adds an Image layer to the MapWindow.
Add() : Layer public Adds an Image layer to the MapWindow with the specified layer name.
Add() : Layer public Adds a Shapefile layer to the MapWindow.
Add() : Layer public Adds a Shapefile layer to the MapWindow with the specified layer name.
Add() : Layer public Adds a Shapefile layer to the MapWindow with the specified properties.
Add() : Layer public Adds a Shapefile layer to the MapWindow with the specified properties.
Add() : Layer public Adds a layer by filename.
Add() : Layer public Adds a layer by filename. The layer name is also set.
Clear() : Void public Removes all layers from the map.
GetHandle() : Int32 public Finds a layer handle when given the global position of a layer.
IsValidHandle() : Boolean public Returns true if the layer handle specified belongs to a valid

layer. Drawing layers are not considered normal layers so this function will not return consistent results if a drawing layer is

passed in.
MoveLayer() : Void public Moves a layer to another position and/or group.
RebuildGridLayer() : Boolean public Rebuilds a grid layer using the specified GridColorScheme
Remove() : Void public Removes the layer from the MapWindow.
Personal tools