Class Index | File Index

Classes


Class khtml.maplib.geometry.LatLng


Defined in: LatLng.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Point (2D).
Method Summary
Method Attributes Method Name and Description
 
Register a callback function or method.
 
equals(other)
Position comparison.
 
lat(lat)
set or get latitude
 
lng(lng)
set or get longitude
Class Detail
khtml.maplib.geometry.LatLng(lat, lng)
Point (2D). Implements a copy constructor, use like
new khtml.maplib.LatLng(oldPoint);
Parameters:
{float/khtml.maplib.LatLng/object} lat
Latitude - position on y axis (vertical)
{float} lng
Longitude - position on x axis (horizontal)
Method Detail
addCallbackFunction(func)
Register a callback function or method. "this" will be set to this object in user defined callback function.
Parameters:
func

equals(other)
Position comparison.
Parameters:
other

lat(lat)
set or get latitude
Parameters:
lat

lng(lng)
set or get longitude
Parameters:
lng

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 09 2011 20:46:56 GMT+0200 (MESZ)