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

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

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

import org.osmdroid.views.MapController;

/**
 * An interface that resembles the Google Maps API MapController class
 * and is implemented by the osmdroid {@link MapController} class.
 *
 * @author Neil Boyd
 *
 */
public interface IMapController {

	void animateTo(IGeoPoint geoPoint);
	void setCenter(IGeoPoint point);
	int setZoom(int zoomLevel);
	boolean zoomIn();
	boolean zoomInFixing(int xPixel, int yPixel);
	boolean zoomOut();
	boolean zoomOutFixing(int xPixel, int yPixel);
	void zoomToSpan(int latSpanE6, int lonSpanE6);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy