MGMapLayer.getType   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

String getType()

Description

Returns a string indicating the type of features the layer contains.

Returns

String - One of the following values to represent the layer type: Unknown, Point, Text, Polyline, Polygon, Raster, or Drawing. Because each layer can contain only one type of feature, each layer is associated with a single type. A new method, getLayerType, replaces getType, but getType still works for backward compatibility.

Error Codes

none

See Also

Type, getType in MGMapObject