Android parse.com上的Geopoint

Android parse.com上的Geopoint,android,parse-platform,geopoints,Android,Parse Platform,Geopoints,我试图添加一个标记来检索我从用户那里保存的数据,我保存了一个地理定位,但我不知道如何将这些值分开,因为我从数据库中获得了latitud和longitud,我需要将这些值分开,以便我可以执行以下操作: double lat = <geopoint parse.com>; double lon = <geopoint parse.com>; LatLng ubicacion = new LatLng(lat, lon); googleMap.addMarker(new Ma

我试图添加一个标记来检索我从用户那里保存的数据,我保存了一个地理定位,但我不知道如何将这些值分开,因为我从数据库中获得了latitud和longitud,我需要将这些值分开,以便我可以执行以下操作:

double lat =  <geopoint parse.com>;
double lon = <geopoint parse.com>;
LatLng ubicacion = new LatLng(lat, lon);
googleMap.addMarker(new MarkerOptions().position(ubicacion).title("Marker in Sydney"));
double lat=;
双lon=;
LatLng ubicacion=新LatLng(lat,lon);
googleMap.addMarker(新的MarkerOptions().position(ubicacion.title)(“悉尼的标记”);
有人能帮我拿一下吗?

这边试试

它正在使用解析查询获取

loc.getLatitude();
loc.getLongitude();

@SuppressWarnings("null")
public static void showMap(double lati, double longi, GoogleMap googleMap) {
    mMarker = googleMap.addMarker(new MarkerOptions().position(new LatLng(lati, longi)));
    drawMarkerWithCircle(1000, new LatLng(lati, longi), googleMap);
}

public static void drawMarkerWithCircle(double rad, LatLng position, GoogleMap googleMap) {
    double radiusInMeters = rad;
    int strokeColor = 0x0000ff;
    int shadeColor = 0x44ff0000;
    CircleOptions circleOptions = new CircleOptions().center(position).radius(radiusInMeters).fillColor(shadeColor)
            .strokeColor(strokeColor).strokeWidth(8);
    googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(position, 10));
}
这样试试

它正在使用解析查询获取

loc.getLatitude();
loc.getLongitude();

@SuppressWarnings("null")
public static void showMap(double lati, double longi, GoogleMap googleMap) {
    mMarker = googleMap.addMarker(new MarkerOptions().position(new LatLng(lati, longi)));
    drawMarkerWithCircle(1000, new LatLng(lati, longi), googleMap);
}

public static void drawMarkerWithCircle(double rad, LatLng position, GoogleMap googleMap) {
    double radiusInMeters = rad;
    int strokeColor = 0x0000ff;
    int shadeColor = 0x44ff0000;
    CircleOptions circleOptions = new CircleOptions().center(position).radius(radiusInMeters).fillColor(shadeColor)
            .strokeColor(strokeColor).strokeWidth(8);
    googleMap.animateCamera(CameraUpdateFactory.newLatLngZoom(position, 10));
}

parseObject.getParseGeoPoint(“location”)
谢谢各位朋友,我会在几个小时内试一试
parseObject.getParseGeoPoint(“location”)
谢谢各位朋友,我会在几小时内试一试。我认为这可能与问题的要求相反(写作而不是阅读)?我认为这可能与问题的要求相反(写作而不是阅读)?