|
CartoType API
|
#include <cartotype_map_data.h>
Public Member Functions | |
| int32 | Attributes () const |
| const TMapAttributeDefinition & | AttributeDefinition (int32 aIndex) const |
| const MString & | Name () const |
| CT_IMPORT TResult | AddAttributeDefinition (const MString &aName, TMapAttribute aDefault) |
| TResult | SetName (const MString &aName) |
Static Public Member Functions | |
| static CT_IMPORT CMapDataLayer * | New (TResult &aError, const MString &aName) |
Protected Member Functions | |
| CT_IMPORT TResult | Construct (const MString &aName) |
The name and attribute definitions of a map data layer. Map data accessors can use classes derived from CMapDataLayer to store information about the layers in a particular data set and use references to these layer objects when creating CMapObject instances.
| CT_EXPORT TResult CMapDataLayer::AddAttributeDefinition | ( | const MString & | aName, |
| TMapAttribute | aDefault | ||
| ) |
Add definition of an attribute to the layer.
1.7.5.1