Class Index | File Index

Classes


Class KiiGeoPoint

Represents Geo Point.
Defined in: KiiSDK.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
KiiGeoPoint.geoPoint(latitude, longitude)
Create a geo point with the given latitude and longitude.
 
Return the latitide of this point.
 
Return the longitude of this point.
Class Detail
KiiGeoPoint()
Method Detail
<static> {KiiGeoPoint} KiiGeoPoint.geoPoint(latitude, longitude)
Create a geo point with the given latitude and longitude.
      var point = KiiGeoPoint.geoPoint(35.07, 139.02);
Parameters:
{Number} latitude
Latitude of the point in degrees. Valid if the value is greater than -90 degrees and less than +90 degrees.
{Number} longitude
Longitude of the point in degrees. Valid if the value is greater than -180 degrees and less than +180 degrees.
Throws:
{String}
Specified latitude or longitude is invalid.
Returns:
{KiiGeoPoint} A new reference of KiiGeoPoint.

getLatitude()
Return the latitide of this point.

getLongitude()
Return the longitude of this point.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Sep 15 2021 05:31:33 GMT-0000 (UTC)