public class MapGeoPoint
extends java.lang.Object
implements java.io.Serializable
MapGeoPoint stores geo coordinates in WGS84 format.| Constructor and Description |
|---|
MapGeoPoint()
Default constructor
|
MapGeoPoint(double lat,
double lon)
Constructor of point from latitude and longitude
|
MapGeoPoint(MapGeoPoint mapPoint)
Copies constructor
|
MapGeoPoint(MapPoint point)
Creates map point from map point
|
| Modifier and Type | Method and Description |
|---|---|
void |
assign(MapGeoPoint point)
Copies data from other point
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
void |
set(MapPoint point)
Sets coordinates of point from map point
|
public MapGeoPoint()
public MapGeoPoint(double lat,
double lon)
lat - latitude of point. Valid values are in range [-90, +90]lon - longitude of point. Valid values are in range [-180, +180]public MapGeoPoint(MapPoint point)
point - Map pointpublic MapGeoPoint(MapGeoPoint mapPoint)
mapPoint - point to copypublic void set(MapPoint point)
point - map point.public void assign(MapGeoPoint point)
point - source pointpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2018 GetYourMap. All Rights Reserved.