
org.osmdroid.api.IMyLocationOverlay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-packager Show documentation
Show all versions of osmdroid-packager Show documentation
A tool to package OpenStreetMap tiles
package org.osmdroid.api;
import android.location.Location;
import android.os.Bundle;
/**
* An interface that resembles the Google Maps API MyLocationOverlay class
* and is implemented by the osmdroid {@link org.osmdroid.views.overlay.MyLocationOverlay} class.
*
* @author Neil Boyd
*
*/
public interface IMyLocationOverlay {
boolean enableMyLocation();
void disableMyLocation();
boolean isMyLocationEnabled();
boolean enableCompass();
void disableCompass();
boolean isCompassEnabled() ;
public float getOrientation();
boolean runOnFirstFix(Runnable runnable);
void onStatusChanged(String provider, int status, Bundle extras);
Location getLastFix();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy