Class MVCustomMapTileLayer

Object
   |
   +--MVMapTileLayer
         |
         +--MVCustomMapTileLayer

class MVCustomMapTileLayer
extends MVMapTileLayer


MVCustomMapTileLayer defines a custom map tile layer, which assembles and displays map image tiles served directly by a web based map tile server, which accepts HTTP GET map tile requests. MVCustomMapTileLayer extends class MVMapTileLayer and all methods defined in MVMapTileLayer are also available in MVCustomMapTileLayer.

In order to let the javascript map client know how to assemble and display map tiles, you must provide the map tile layer definition object that defines map coordinate system, zoom levels and tiling rules. Please refer to MVMapView.addMapTileLayerDefinition for more information regarding the map tile layer definition object.

Using the map tile layer definition information, the Oracle Maps client calls tileURLProvider to get the URLs of the map tiles that it needs to display to map. tileURLProvider is a user defined javascript function that returns the URL of the map tile image specified by the tile bounding box and zoom level. It accepts five parameters provided by the javascript map client:



Constructor Summary
MVCustomMapTileLayer (<Object> layerDefinition, <Function> tileURLProvider)
           
 
Method Summary
 object baseClass(<String> mapTileLayerName, <String> tileServerURL)
          
 
Methods inherited from class MVMapTileLayer
setTransparent, setVisible, isVisible, setVisibleZoomLevelRange, refresh
 

Constructor Detail

MVCustomMapTileLayer

MVCustomMapTileLayer(<Object> layerDefinition, <Function> tileURLProvider)

Method Detail

baseClass

object baseClass(<String> mapTileLayerName, <String> tileServerURL)


Documentation generated by JSDoc on Thu Jan 22 16:47:17 2009