Summary

Classes


Class deCarta.Mobile.MapLayer

A MapLayer represents a tile set that can be displayed on the map. Tiles are addressed by their North, East and Zoom parameters. Map layers can be customized by setting a specific tile store to get the tiles from (a street view tile, a satellite tile, whatever you come up with) There is no limit, other than performance, to the number of layers that can be added to a map.

Class Summary
Constructor Attributes Constructor Name and Description
 
A tile set that can be displayed on the map
Method Summary
Method Attributes Method Name and Description
 
hide()
Hides the layer from view.
 
render(tileGrid)
Renders the map.
 
show()
Sets the layer as visible.
Class Detail
deCarta.Mobile.MapLayer(options)
A tile set that can be displayed on the map
Parameters:
{object} options
Each layer is initilized with a set of options. options:
 {
     tileStore : the tile store that will provide tiles for this layer. defaults to street.
     name: the layer's name
     visible: visibility attribute for the layer
 }
 
See:
deCarta.Mobile.MapOverlay
Method Detail
hide()
Hides the layer from view.

render(tileGrid)
Renders the map. Should not be called directly. Renderings are controlled by the Map object.
Parameters:
tileGrid

show()
Sets the layer as visible.

Documentation generated by JsDoc Toolkit 2.1.0 on Fri Nov 04 2011 12:27:12 GMT-0700 (PDT)