KiiGeoPoint Class Reference
Inherits from | NSObject |
Declared in | KiiGeoPoint.h |
Properties
Instance Methods
initWithLatitude:andLongitude:
Create an instance of GeoPoint with the given latitude and longitude. throws NSInvalidArgumentException when the given lat/ lon is out of range.
- (nonnull KiiGeoPoint *)initWithLatitude:(double)lat andLongitude:(double)lon
Parameters
- lat
of the point in degrees. Valid if the value is greater than -90 degrees and less than +90 degrees.
- lon
of the point in degrees. Valid if the value is greater than -180 degrees and less than +180 degrees.
Discussion
Create an instance of GeoPoint with the given latitude and longitude. throws NSInvalidArgumentException when the given lat/ lon is out of range.
Declared In
KiiGeoPoint.h
isEqual:
Return true when both latitude and longitude of the specified object are equal to this one.
- (BOOL)isEqual:(nullable id)other
Parameters
- other
object that will be compared to this.
Return Value
true if the given object is equal to this, false otherwise.
Discussion
Return true when both latitude and longitude of the specified object are equal to this one.
Declared In
KiiGeoPoint.h