Class MMMapType

Object
   |
   +--MMMapType

class MMMapType

Defined in MultimapOpenAPI


Constructor Summary
MMMapType ( <Array> layers, <MMProjection> projection, <String> name, <MMMapTypeOptions> options )
            A custom map type to be displayed in the mapviewer.
 
Method Summary
 String getAlt()
           Retrieves the value of the 'alt' option.
 Object getBoundsZoomFactor( <MMBounds> bounds, <MMDimensions> view_size )
           Returns the zoom factor that can fit the set of bounds specified within a given size of viewer.
 Object getCopyrights( <MMBounds> bounds, <integer> zoom_factor )
           Returns the copyright objects that should be displayed at the specified zoom factor and within the specified bounding box.
 String getErrorMessage()
           Retrieves the value of the 'errorMessage' option.
 String getLinkColor()
           Retrieves the value of the 'linkColor' option, or '#7777cc' by default.
 integer getMaximumResolution( latlon )
           Returns the value of the 'minResolution' option, or the minimum resolution of all the tile layers.
 integer getMinimumResolution( latlon )
           Returns the value of the 'minResolution' option, or the minimum resolution of all the tile layers.
 String getName( <boolean> opt_short )
           Retrieves the name of the map type.
 MMProjection getProjection()
           Gets a reference to the projection that was used to create the map type.
 String getTextColor()
           Retrieves the value of the 'textColor' option, or 'black' by default.
 Array getTileLayers()
           Returns a reference to the array of tile layers passed into the constructor.
 integer getTileSize()
           Returns the tile size for this map type.
 String getUrlArg()
           Retrieves the value of the 'urlArg' option.

Constructor Detail

MMMapType

MMMapType( <Array> layers, <MMProjection> projection, <String> name, <MMMapTypeOptions> options )

Method Detail

getAlt

String getAlt()

getBoundsZoomFactor

Object getBoundsZoomFactor( <MMBounds> bounds, <MMDimensions> view_size )

getCopyrights

Object getCopyrights( <MMBounds> bounds, <integer> zoom_factor )

getErrorMessage

String getErrorMessage()

getLinkColor

String getLinkColor()

getMaximumResolution

integer getMaximumResolution( latlon )

getMinimumResolution

integer getMinimumResolution( latlon )

getName

String getName( <boolean> opt_short )

getProjection

MMProjection getProjection()

getTextColor

String getTextColor()

getTileLayers

Array getTileLayers()

getTileSize

integer getTileSize()

getUrlArg

String getUrlArg()


Documentation generated by JSDoc on Tue Feb 26 16:25:19 2008