Data
|
a vector of _ObjLocator structure of objects selected by rectangle select, polygon select or marque select tool | |
|
a vector of _ObjLocator structure of objects, that's result of search functions GetNodeInRect, GetObjectInRect or GetObjectInterRect |
Object Access
|
Load object with specified object ID from database and return a pointer to CMapObject. | |
|
Load node with specified object ID from database and return a pointer to CMapObject. | |
|
Load object with zero-based index from database and return a pointer to CMapObject. | |
|
Load first object (first position in x-tree). Use for fast map object access. | |
|
Load next in x-tree object. Use for fast map object access. | |
|
Load first node (first position in kd-tree). Use for fast map object access. | |
|
Load next in kd-tree object. Use for fast map object access. |
Head/Tail Access (depreciated)
|
Returns the first object of the layer (cannot be empty). | |
|
Returns the last object of the layer (cannot be empty). |
Database Management
|
Adds new data field. | |
|
Get total number of data fields. | |
|
Get specific field type. | |
|
Get specific field name. | |
|
Remove specified data fields. | |
|
Finds the data field specified by field name. |
View Management
|
Set map layer type. | |
|
Returns type of layer. | |
|
Set layer scale limits. | |
|
Returns minimal scale. | |
|
Returns maximal scale. | |
|
Returns minimal scale. | |
|
Returns maximal scale. | |
|
Checks whether the layer scale limit is enabled. | |
|
Checks whether the layer label scale limit is enabled. | |
|
Returns layer transparency level. | |
|
Set layer transparency level. | |
|
Adds new style. | |
|
Removes specified layer style. | |
|
Returns number of layer styles. | |
|
Return layer style at specified index. |
Search
|
Finds map object in specified screen position. | |
|
Finds all nodes in specified map rectangle. | |
|
Finds all objects in specified map rectangle. | |
|
Finds all objects intersected with specified map rectangle. | |
|
Finds all none-node objects intersected with specific map rectangle. | |
|
Finds all node objects intersected with specific map rectangle. |
Label
|
Gets the data fields used as label. | |
|
Gets the label property. | |
|
Sets the auto label property. | |
|
Sets the data fields used as label. | |
|
Sets the label property. | |
|
Returns the object label content. |
Other
|
Gets boundary of the map layer. | |
|
Adds an object to map layer. | |
|
Saves all changes made to the layer database. | |
|
Removes specified object from the layer database. | |
|
Removes the first object (row) from the layer database. | |
|
Removes the last object (row) from the layer database. | |
|
Returns the layer name. | |
|
Returns the layer property (i.e. the pointer to the CMapProperty object). | |
|
Returns the pointer to the map (i.e. CMapT object). | |
|
Returns the number of objects in the layer. | |
|
Return the number of node objects in the layer. | |
|
Checks whether the layer is Auto Labeling. | |
|
Checks the layer is editable or not. | |
|
Checks the layer overrides its object properties or not. | |
|
Checks the layer is selectable or not. | |
|
Checks the layer is visible or not. | |
|
Checks the layer is in range or not. | |
|
Return true if layer data has been changed, otherwise false.. | |
|
Re-calculate the layer boundary. | |
|
Sets the Editable property to TRUE (i.e. makes the layer editable). | |
|
Sets the layer property. | |
|
Sets the Override property. | |
|
Sets the Selectable property. | |
|
Optimize the layer index. | |
|
Sets the Visible property. | |
|
Check if given field present in meta data |