public class MyLocationProvider extends LocationProvider
HyperTrackMap
.HyperTrackMap.bind(LocationProvider)
Constructor and Description |
---|
MyLocationProvider(String name)
Constructs a MyLocationProvider with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
onLocationChanged(android.location.Location location)
The method to provide location updates from a custom source to
HyperTrackMap . |
public MyLocationProvider(String name)
name
- some unique name for provider.public void onLocationChanged(android.location.Location location)
HyperTrackMap
.location
- new location from a custom source.