public interface CurrentLocationView extends MapComponentView<android.widget.ImageView>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CurrentLocationView.LocationStatusListener
The listener used to obtain if current location is available.
|
MapComponentView.MapComponentClickCallback| Modifier and Type | Method and Description |
|---|---|
void |
setLocationStatusListener(CurrentLocationView.LocationStatusListener listener)
The listener used to obtain if current location is available.
|
void |
updateViewWithMapLocation(android.location.Location userLocation,
double focalLatitude,
double focalLongitude)
Centers on the current user location of the distance between user location and focal latitude and longitude
is big enough.
|
getView, hide, setMargins, setOnMapComponentClickCallback, showvoid updateViewWithMapLocation(android.location.Location userLocation,
double focalLatitude,
double focalLongitude)
userLocation - the user geo location which is a centering pointfocalLatitude - the focal latitude value which is the latitude distance from userLocationfocalLongitude - the focal longitude value which is the longitude distance from userLocationvoid setLocationStatusListener(CurrentLocationView.LocationStatusListener listener)