Class IWMapType

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

IWMapType(map)

Method Detail

addLabelsServerConfig

void addLabelsServerConfig()

addStyle

addStyle(style)

addTilesServerConfig

void addTilesServerConfig(serverConfig)

checkIfMapsExist

checkIfMapsExist(ne, sw, callback)

getCopyright

String getCopyright()

getId

String getId()

getLabelsServerConfig

IWServerConfig getLabelsServerConfig(zoom)

getLogging

String getLogging(mapType)

getMaxLevel

number getMaxLevel()

getMinLevel

number getMinLevel()

getName

String getName()

getPreferredLevel

number getPreferredLevel()

getProjection

IWProjection getProjection()

getRequestParameters

String getRequestParameters()

getStyle

getStyle()

getStyles

getStyles()

getTilesizeMeter

number[] getTilesizeMeter()

getTilesServerConfig

IWServerConfig getTilesServerConfig(zoom)

getType

String getType()

getValtusAvailable

getValtusAvailable()

hasLabels

boolean hasLabels()

isAvailable

boolean isAvailable()

isValtus

boolean isValtus()

setCopyright

void setCopyright(newCopyright)

setLabelsServerConfig

void setLabelsServerConfig()

setMaxLevel

void setMaxLevel(newMaxLevel)

setMinLevel

void setMinLevel(newMinLevel)

setName

void setName(newName)

setPreferredLevel

void setPreferredLevel(newPreferredLevel)

setProjection

void setProjection(newProjection)

setRequestParameters

void setRequestParameters(newRequestParameters)

setStyle

setStyle(newStyle)

setTilesizeMeter

void setTilesizeMeter(newTilesizeMeter)

setTilesServerConfig

void setTilesServerConfig(serverConfig)

setType

void setType(newType)

setValtus

setValtus(nValtus)

toString

String toString()

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:14 GMT+0100 (MEZ)