new IWServerConfig()
Default constructor.
Methods
-
getAliases()
-
Returns the aliases.
Returns:
- Type
- Array.<String>
-
getBaseDir()
-
Returns the base directory of the API.
Returns:
- Type
- String
-
getImageType()
-
Returns the image extension for the requested image type.
Returns:
- Type
- String
-
getNextAlias()
-
Returns the next alias.
Returns:
- Type
- String
-
getPortList()
-
Returns the specified port list.
Returns:
- Type
- Array.<int>
-
getProjection()
-
Returns the projection for this map type.
Returns:
- Type
- String
-
getUrl()
-
Returns the URL on which the infoware service accepts requests.
Returns:
- Type
- String
-
isCacheEnabled()
-
Returns
true
if the cache is enabled for this map type, otherwisefalse
.Returns:
- Type
- boolean
-
setAliases(newAliases)
-
Sets the aliases.
Parameters:
Name Type Description newAliases
Array.<String> Returns:
- Type
- void
-
setBaseDir(newBaseDir)
-
Sets the base directory of the API.
Parameters:
Name Type Description newBaseDir
String Returns:
- Type
- void
-
setCacheEnabled(useCache)
-
Enables or disables the cache for this map type. Caching is deprecated; use MapDispatcher with precalculated tiles instead.
Parameters:
Name Type Description useCache
boolean - Deprecated:
-
- Yes
Returns:
- Type
- void
-
setImageType(newImageType)
-
Sets the image extension for the requested image type.
Parameters:
Name Type Description newImageType
String Returns:
- Type
- void
-
setPortList(newPortList)
-
Sets the specified port list.
Parameters:
Name Type Description newPortList
Array.<int> Returns:
- Type
- void
-
setProjection(newProjection)
-
Sets the projection for this map type.
Parameters:
Name Type Description newProjection
String Returns:
- Type
- void
-
setUrl(newUrl)
-
Sets the URL on which the infoware service accepts requests.
Parameters:
Name Type Description newUrl
String Returns:
- Type
- void
-
toString()
-
Returns a string representation of this server configuration.
Returns:
- Type
- String