GoogleMapsSearchServer.SearchResult
, Located.Static
, OsmSearchServer.SearchResult
, SearchServer.Result
public interface Located
Modifier and Type | Interface | Description |
---|---|---|
static class |
Located.Static |
A base implementation for read-only locations
|
Modifier and Type | Method | Description |
---|---|---|
PointD |
getLonLat() |
Returns the longitude, latitude for this object
or null if this object doesn't have a location.
|
boolean |
setLonLat(double lon,
double lat) |
Set the longitude, latitude for this object.
|
PointD getLonLat()
boolean setLonLat(double lon, double lat)
lon
- the new longitudelat
- the new latitude