MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLOWCResource Class Reference

Detailed Description

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 TSLEntityextent () const
 
const TSLCoordinateSystemextentSRS () const
 
const TSLOWCResource::Informationinformation () const
 
bool isActive () const
 
void isActive (bool active)
 
TSLOWCOfferingoffering (unsigned int index)
 
const TSLOWCOfferingoffering (unsigned int index) const
 
double maxScaleDenominator () const
 
double minScaleDenominator () const
 
unsigned int numOfferings () const
 

Member Function Documentation

◆ extent()

const TSLEntity * TSLOWCResource::extent ( ) const

Returns the extent of the resource. This extent may be a point, a rectangle or a polygon.

◆ extentSRS()

const TSLCoordinateSystem * TSLOWCResource::extentSRS ( ) const

Returns the coordinate system that the extent of the resource is defined in.

◆ information()

const TSLOWCResource::Information & TSLOWCResource::information ( ) const

Returns general information about the OWS resource.

◆ isActive() [1/2]

bool TSLOWCResource::isActive ( ) const

Returns true if the resource is enabled and should be displayed by default.

◆ isActive() [2/2]

void TSLOWCResource::isActive ( bool active)

Sets if the resource is enabled and should be displayed by default.

◆ maxScaleDenominator()

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

◆ minScaleDenominator()

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

◆ numOfferings()

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.

◆ offering() [1/2]

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.

◆ offering() [2/2]

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.