All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.osmdroid.api.IMyLocationOverlay Maven / Gradle / Ivy

The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy