SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class representing an map type.
Author: JANConstructor Summary | |
IWMapType(map)
Default constructor. |
Method Summary | |
void
|
addLabelsServerConfig()
Adds a server configuration for the label layer. |
void
|
addTilesServerConfig(serverConfig)
Adds a server configuration for the background tiles. |
String
|
getCopyright()
Returns the copyright of the maptype. the map. |
IWServerConfig
|
getLabelsServerConfig(zoom)
Returns the server configuration for the label layer. |
String
|
getLogging()
Returns the logging string of the maptype. |
|
getMaxLevel()
Returns the maximal zoom level on which this maptype will be displayed. |
number
|
getMinLevel()
Returns the minimal zoom level on which this maptype will be displayed. |
String
|
getName()
Returns the name of the map type. |
number
|
getPreferredLevel()
Returns the default zoom level. |
IWProjection
|
getProjection()
Returns the projection class for this maptype. |
String
|
getRequestParameters()
|
number[]
|
getTilesizeMeter()
|
IWServerConfig
|
getTilesServerConfig(zoom)
Returns the server configuration for the background tiles. |
String
|
getType()
Returns the type of the map type, e.g. |
boolean
|
hasLabels()
Returns true if a server configurations for labels is definied, otherwise it returns
false .
|
boolean
|
isAvailable()
Returns true when the maptype is available at the displayed map region. |
void
|
setCopyright(newCopyright)
Sets the copyright of the maptype. the map. |
void
|
setLabelsServerConfig()
Sets the server configuration for the label layer. |
void
|
setMaxLevel(newMaxLevel)
Sets the maximal zoom level on which this maptype will be displayed. |
void
|
setMinLevel(newMinLevel)
Sets the minimal zoom level on which this maptype will be displayed. |
void
|
setName(newName)
Sets the name of the map type. |
void
|
setPreferredLevel(newPreferredLevel)
Sets the default zoom level. |
void
|
setProjection(newProjection)
Sets the projection class for this maptype. |
void
|
setRequestParameters(newRequestParameters)
Sets additional request parameters for this map type. |
void
|
setTilesizeMeter(newTilesizeMeter)
|
void
|
setTilesServerConfig(serverConfig)
Sets the server configuration for the background tiles. |
void
|
setType(newType)
Sets the type of the map type, e.g. |
String
|
toString()
Returns a string representation of this map type. |
Constructor Detail |
IWMapType(map)
IWMap map
Method Detail |
void addLabelsServerConfig()
IWServerConfig
void
void addTilesServerConfig(serverConfig)
IWServerConfig serverConfig
void
String getCopyright()
String
IWServerConfig getLabelsServerConfig(zoom)
zoom
IWServerConfig
the server configuration for the label layer.
String getLogging()
String
getMaxLevel()
number getMinLevel()
number
String getName()
String
number getPreferredLevel()
number
IWProjection getProjection()
IWProjection
String getRequestParameters()
String
number[] getTilesizeMeter()
number[]
IWServerConfig getTilesServerConfig(zoom)
zoom
IWServerConfig
String getType()
IW
or VE
.
String
boolean hasLabels()
true
if a server configurations for labels is definied, otherwise it returns
false
.
boolean
boolean isAvailable()
boolean
void setCopyright(newCopyright)
String newCopyright
- the copyright text for this map type.
void
void setLabelsServerConfig()
IWServerConfig
void
void setMaxLevel(newMaxLevel)
number newMaxLevel
- the maximal zoom level.
void
void setMinLevel(newMinLevel)
number newMinLevel
- the minimal zoom level.
void
void setName(newName)
String newName
- the name of the map type.
void
void setPreferredLevel(newPreferredLevel)
number newPreferredLevel
- the preferred zoom level.
void
void setProjection(newProjection)
IWProjection newProjection
- the projection type of this map type.
void
void setRequestParameters(newRequestParameters)
String newRequestParameters
- additional request parameters for this map type.
void
void setTilesizeMeter(newTilesizeMeter)
number[] newTilesizeMeter
void
void setTilesServerConfig(serverConfig)
IWServerConfig serverConfig
void
void setType(newType)
IW
or VE
.
String newType
void
String toString()
String