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

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

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

/**
 * An interface that is used for simultaneously accessing several properties of the map
 */
public interface IPosition {

	/**
	 * The latitude of the center of the map
	 */
	double getLatitude();

	/**
	 * The longitude of the center of the map
	 */
	double getLongitude();

	/**
	 * Whether this position has a bearing
	 */
	boolean hasBearing();

	/**
	 * The bearing of the map
	 */
	float getBearing();

	/**
	 * Whether this position has a zoom level
	 */
	boolean hasZoomLevel();

	/**
	 * The zoom level of the map
	 */
	float getZoomLevel();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy