org.osmdroid.views.overlay.IOverlayMenuProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of osmdroid-android Show documentation
Show all versions of osmdroid-android Show documentation
An Android library to display OpenStreetMap views.
package org.osmdroid.views.overlay;
import org.osmdroid.views.MapView;
import android.view.Menu;
import android.view.MenuItem;
public interface IOverlayMenuProvider {
public boolean onCreateOptionsMenu(final Menu pMenu, final int pMenuIdOffset,
final MapView pMapView);
public boolean onPrepareOptionsMenu(final Menu pMenu, final int pMenuIdOffset,
final MapView pMapView);
public boolean onOptionsItemSelected(final MenuItem pItem, final int pMenuIdOffset,
final MapView pMapView);
/**
* Can be used to signal to external callers that this Overlay should not be used for providing
* option menu items.
*
*/
public boolean isOptionsMenuEnabled();
public void setOptionsMenuEnabled(final boolean pOptionsMenuEnabled);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy