Merge branch 'master' of https://github.com/codelibs/fess
This commit is contained in:
commit
db23c7b745
1 changed files with 5 additions and 1 deletions
|
@ -726,7 +726,11 @@ public class JsonApiManager extends BaseApiManager {
|
|||
|
||||
@Override
|
||||
public GeoInfo getGeoInfo() {
|
||||
return null;
|
||||
GeoInfo geoInfo = new GeoInfo();
|
||||
geoInfo.latitude = request.getParameter("geo.latitude");
|
||||
geoInfo.longitude = request.getParameter("geo.longitude");
|
||||
geoInfo.distance = request.getParameter("geo.distance");
|
||||
return geoInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue