Metadata of GeoPoint is empty.

I get strange errors that I did’t have before. When I retrieve GeoPoints from Backendless, All GeoPoint objects have Empty metadata. Actually GeoPoint have a lot of data in metadata but I cannot get them anymore.
I have the following code to get GeoPoints:


 BackendlessGeoQuery geoQuery = new BackendlessGeoQuery(); 
 geoQuery.addCategory("user");
 geoQuery.setLatitude(currentLatitude);
 geoQuery.setLongitude(currentLongitude);
 geoQuery.setRadius(distanceInMeters);
 geoQuery.setUnits(Units.METERS);
 geoQuery.setPageSize(50);


 List<GeoPoint> listGeoPoints;
 BackendlessCollection<GeoPoint> geoPointCollection = Backendless.Geo.getPoints(geoQuery);
 listGeoPoints = geoPointCollection.getData();

You’re missing the following call:

geoQuery.setIncludeMeta( true );

Regards,
Mark

Hello Mark,

Thanks! It works!