|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--MMTileLayer
Defined in MultimapOpenAPI
| Constructor Summary | |
MMTileLayer
( <MMCopyrightCollection> copyrights, min_zoom_factor, max_zoom_factor )
Constructor for a tile layer to be used in an MMMapType or an MMTileLayerOverlay. |
|
| Method Summary | |
float
|
getOpacity()
This method returns the opacity that you would like the tiles to have as a floating point number between 0 and 1, the default is 1. |
void
|
getTileUrl( <MMPoint> tile, <integer> zoom_factor )
This function should be overridden to return the URL to the custom tiles. |
boolean
|
isClipped()
If this function returns true then this layer will have its tiles clipped so that only the section under the mouse will appear. |
boolean
|
isPng()
If this function returns true then a 24 bit PNG file with alpha transparency is assumed as this is handled differently by some browsers. |
integer
|
maxResolution()
The maximum zoom factor at which this tile layer should be displayed. |
integer
|
minResolution()
The minimum zoom factor at which this tile layer should be displayed. |
| Constructor Detail |
MMTileLayer( <MMCopyrightCollection> copyrights, min_zoom_factor, max_zoom_factor )
copyrights - A copyright collection describing the data sources for the tiles in this tile layer.
| Method Detail |
float getOpacity()
void getTileUrl( <MMPoint> tile, <integer> zoom_factor )
tile - The coordinates of the tile to display.
zoom_factor - The zoom factor of the tile to display.
boolean isClipped()
boolean isPng()
integer maxResolution()
integer minResolution()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||