![]() |
MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
|
This class represents a specific resource within a context document. A resource is typically a set of information that can be displayed as a layer.
Classes | |
class | Information |
Public Member Functions | |
const TSLEntity * | extent () const |
const TSLCoordinateSystem * | extentSRS () const |
const TSLOWCResource::Information & | information () const |
bool | isActive () const |
void | isActive (bool active) |
TSLOWCOffering * | offering (unsigned int index) |
const TSLOWCOffering * | offering (unsigned int index) const |
double | maxScaleDenominator () const |
double | minScaleDenominator () const |
unsigned int | numOfferings () const |
const TSLEntity * TSLOWCResource::extent | ( | ) | const |
Returns the extent of the resource. This extent may be a point, a rectangle or a polygon.
const TSLCoordinateSystem * TSLOWCResource::extentSRS | ( | ) | const |
Returns the coordinate system that the extent of the resource is defined in.
const TSLOWCResource::Information & TSLOWCResource::information | ( | ) | const |
Returns general information about the OWS resource.
bool TSLOWCResource::isActive | ( | ) | const |
Returns true if the resource is enabled and should be displayed by default.
void TSLOWCResource::isActive | ( | bool | active | ) |
Sets if the resource is enabled and should be displayed by default.
double TSLOWCResource::maxScaleDenominator | ( | ) | const |
Returns the maximum display scale for the resource.
For example, a value of 100000 represents a maximum display scale of 1:100,000
double TSLOWCResource::minScaleDenominator | ( | ) | const |
Returns the minimum display scale for the resource.
For example, a value of 100000 represents a minimum display scale of 1:100,000
unsigned int TSLOWCResource::numOfferings | ( | ) | const |
Returns the number of offerings for this resource. A resource may have multiple offerings, but each offering is an alternative representation of the same content.
TSLOWCOffering * TSLOWCResource::offering | ( | unsigned int | index | ) |
Returns the offering at the given index.
A resource may have multiple offerings, but each offering is an alternative representation of the same content.
const TSLOWCOffering * TSLOWCResource::offering | ( | unsigned int | index | ) | const |
Returns the offering at the given index.
A resource may have multiple offerings, but each offering is an alternative representation of the same content.