SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A class representing an map type.
Constructor Summary | |
IWMapType(map)
Default constructor. |
Method Summary | |
void
|
addLabelsServerConfig()
Adds a server configuration for the label layer. |
|
addStyle(style)
undocumented |
void
|
addTilesServerConfig(serverConfig)
Adds a server configuration for the background tiles. |
|
checkIfMapsExist(ne, sw, callback)
undocumented |
String
|
getCopyright()
Returns the copyright of the map type. be displayed on the map. |
String
|
getId()
Returns the id of the map type (name and style) |
IWServerConfig
|
getLabelsServerConfig(zoom)
Returns the server configuration for the label layer. |
String
|
getLogging(mapType)
Returns the logging string of the map type. |
number
|
getMaxLevel()
Returns the maximal zoom level on which this map type will be displayed. |
number
|
getMinLevel()
Returns the minimal zoom level on which this map type 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 map type. |
String
|
getRequestParameters()
|
|
getStyle()
undocumented |
|
getStyles()
undocumented |
number[]
|
getTilesizeMeter()
|
IWServerConfig
|
getTilesServerConfig(zoom)
Returns the server configuration for the background tiles. |
String
|
getType()
Returns the type of the map type, e.g. |
|
getValtusAvailable()
undocumented |
boolean
|
hasLabels()
Returns true if a server configurations for labels is defined, otherwise it returns
false .
|
boolean
|
isAvailable()
Returns true when the map type is available at the displayed map region. |
boolean
|
isValtus()
Returns true when valtus maps are available for provided mapType. |
void
|
setCopyright(newCopyright)
Sets the copyright of the map type. the map. |
void
|
setLabelsServerConfig()
Sets the server configuration for the label layer. |
void
|
setMaxLevel(newMaxLevel)
Sets the maximal zoom level on which this map type will be displayed. |
void
|
setMinLevel(newMinLevel)
Sets the minimal zoom level on which this map type 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 map type. |
void
|
setRequestParameters(newRequestParameters)
Sets additional request parameters for this map type. |
|
setStyle(newStyle)
undocumented |
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. |
|
setValtus(nValtus)
undocumented |
String
|
toString()
Returns a string representation of this map type. |
Constructor Detail |
IWMapType(map)
IWMap map
Method Detail |
void addLabelsServerConfig()
IWServerConfig
void
addStyle(style)
style
void addTilesServerConfig(serverConfig)
IWServerConfig serverConfig
void
checkIfMapsExist(ne, sw, callback)
ne
sw
callback
String getCopyright()
String
String getId()
String
IWServerConfig getLabelsServerConfig(zoom)
zoom
IWServerConfig
the server configuration for the label layer.
String getLogging(mapType)
mapType
String
number getMaxLevel()
number
number getMinLevel()
number
String getName()
String
number getPreferredLevel()
number
IWProjection getProjection()
IWProjection
String getRequestParameters()
String
getStyle()
getStyles()
number[] getTilesizeMeter()
number[]
IWServerConfig getTilesServerConfig(zoom)
zoom
IWServerConfig
String getType()
IW
or VE
.
String
getValtusAvailable()
boolean hasLabels()
true
if a server configurations for labels is defined, otherwise it returns
false
.
boolean
boolean isAvailable()
boolean
boolean isValtus()
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
setStyle(newStyle)
newStyle
void setTilesizeMeter(newTilesizeMeter)
number[] newTilesizeMeter
void
void setTilesServerConfig(serverConfig)
IWServerConfig serverConfig
void
void setType(newType)
IW
or VE
.
String newType
void
setValtus(nValtus)
nValtus
String toString()
String