MapWindow Home
Search MapWindow.org


  • Home
    • Download
    • Why MW
    • FAQ
    • Contact
  • Products
    • MapWindow
    • ActiveX
    • Plug-ins
  • Software Dev
    • Sample Code
    • Scripts
    • Source
    • Bugs
    • Support
    • Languages
  • Site Tools
    • Forums
    • Tutorials
    • Mailing Lists
    • Team
    • Site Stats
    • Links
  • Get Stuff
    • Buy a CD
    • Buy a T-Shirt
    • MW Book
    • ActiveX Book
    • Donate
    • Buy Support
  • Documentation
    • MWGIS App. User Guide
    • GISTools User Guide
    • MW Plug-ins Dev. Guide
    • MWGIS ActiveX Dev. Guide
    • MWGeoProc Dev. Guide

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.
Retrieved from "http://www.mapwindow.org/wiki/index.php/MapWindowDevelper:Layers"
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in / create account
  • What links here
  • Related changes
  • Upload file
  • Special pages
  • Printable version
  • Permanent link

Geospatial Software Lab

Copyright © 2008 - MapWindow Open Source Team
( last updated: September 04 2008.)
Home | Donate | Download | MapWindow GIS Desktop | MapWinGIS.ocx | Plug-ins | Contact | Lists | Bugs | Sample Code | Documentation
Code Repository | Open Source License | Discussion Forum | Wiki | Join the Team | Site Statistics | Links