Summary

Classes


Class deCarta.Mobile.CopyrightControl

Add a copyright string to the map. This class inherits from deCarta.Mobile.MapControl.

Class Summary
Constructor Attributes Constructor Name and Description
 
Copyright Map Control
Method Summary
Method Attributes Method Name and Description
 
render(container)
This render method implements the render method from the deCarta.Mobile.MapControl base class.
Class Detail
deCarta.Mobile.CopyrightControl(opt)
Copyright Map Control
Parameters:
opt
Options A list of options with which to initialize the CopyrightControl. Valid options are:
  • (string) position: (Inherited from deCarta.Mobile.MapControl), which should be set to one of: 'topLeft', 'topRight', 'bottomLeft', 'bottomRight' (default='topLeft')
  • (int) marginX: (Inherited from deCarta.Mobile.MapControl) margin from the edge of the map (left OR right) on the X coordinate, in pixels (default=10)
  • (int) marginY: (Inherited from deCarta.Mobile.MapControl) margin from the edge of the map (top OR bottom) on the Y coordinate, in pixels (default=10)
The control can also be styled with css using the class : deCarta-mobile-copyright.
See:
deCarta.Mobile.MapControl
deCarta.Mobile.Map
Method Detail
render(container)
This render method implements the render method from the deCarta.Mobile.MapControl base class. It is responsible for rendering this control on the map, and produces a single HTML Dom Element containing the whole GUI for the control.
Parameters:
{string} container
The DOM element within which the control is rendered.

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