| Constructor and Description |
|---|
GeoPoint(double latitude,
double longitude) |
| Modifier and Type | Method and Description |
|---|---|
static GeoPoint |
fromPoint(org.springframework.data.geo.Point point)
build a GeoPoint from a
Point |
double |
getLat() |
double |
getLon() |
static org.springframework.data.geo.Point |
toPoint(GeoPoint point) |
public double getLat()
public double getLon()
public static GeoPoint fromPoint(org.springframework.data.geo.Point point)
Pointpoint - PointGeoPointpublic static org.springframework.data.geo.Point toPoint(GeoPoint point)
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.