![]() |
MapLink Pro 11.2
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents a single result from a pick method call on a Drawing Surface.
It may not be created or destroyed by the user.
The results may be invalided by the next draw call to the Drawing Surface.
Public Member Functions | |
TSLPickResultEnum | queryType () const |
const char * | getDataLayer () const |
const TSLEnvelope & | pickExtent () const |
const char * TSLPickResult::getDataLayer | ( | ) | const |
Get the ID of the datalayer this result is obtained from.
The Data ID is set by the TSLDataLayer during a pick operation. This allows the data layer containing result to be identified from the result set.
The return value is a pointer to the ID of the data layer containing the result.
const TSLEnvelope & TSLPickResult::pickExtent | ( | ) | const |
New in MapLink Pro 11.2.1. Specifies the search envelope that selected the entity. When wrap-around mode is enabled, this extent might only overlap the entity if the entity "circumnavigates", i.e. the entity's location has 360 added or subtracted from its longitude.
TSLPickResultEnum TSLPickResult::queryType | ( | ) | const |
Queries the type enumerator - TSLPickResultEnum. This allows the user to subsequently cast the TSLPickResult to a known type. Alternatively, use the static 'isType' methods on the derived versions.