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

org.osmdroid.tileprovider.IMapTileProviderCallback Maven / Gradle / Ivy

There is a newer version: 6.1.20
Show newest version
package org.osmdroid.tileprovider;

import android.graphics.drawable.Drawable;

public interface IMapTileProviderCallback {

	/**
	 * The map tile request has completed.
	 *
	 * @param aState
	 *            a state object
	 * @param aDrawable
	 *            a drawable
	 */
	void mapTileRequestCompleted(MapTileRequestState aState, final Drawable aDrawable);

	/**
	 * The map tile request has failed.
	 *
	 * @param aState
	 *            a state object
	 */
	void mapTileRequestFailed(MapTileRequestState aState);

	/**
	 * Returns true if the network connection should be used, false if not.
	 *
	 * @return true if data connection should be used, false otherwise
	 */
	public boolean useDataConnection();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy