public interface LocationProvider
Modifier and Type | Method | Description |
---|---|---|
PointD |
getLonLat(java.lang.Object element) |
Returns the longitude, latitude for the element
or null if this elements doesn't have a location.
|
boolean |
setLonLat(java.lang.Object element,
double lon,
double lat) |
Set the longitude, latitude for the element.
|
PointD getLonLat(java.lang.Object element)
element
- the element for which to return the corresponding geo-locationboolean setLonLat(java.lang.Object element, double lon, double lat)
element
- the element for which to set the geo-locationlon
- the new longitudelat
- the new latitude