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

org.osmdroid.views.util.constants.MapViewConstants Maven / Gradle / Ivy

There is a newer version: 6.1.20
Show newest version
// Created by plusminus on 18:00:24 - 25.09.2008
package org.osmdroid.views.util.constants;

/**
 * 
 * This class contains constants used by the map view.
 * 
 * @author Nicolas Gramlich
 * 
 */
public interface MapViewConstants {
	// ===========================================================
	// Final Fields
	// ===========================================================

	public static final boolean DEBUGMODE = false;

	public static final int NOT_SET = Integer.MIN_VALUE;

	public static final int ANIMATION_SMOOTHNESS_LOW = 4;
	public static final int ANIMATION_SMOOTHNESS_DEFAULT = 10;
	public static final int ANIMATION_SMOOTHNESS_HIGH = 20;

	public static final int ANIMATION_DURATION_SHORT = 500;
	public static final int ANIMATION_DURATION_DEFAULT = 1000;
	public static final int ANIMATION_DURATION_LONG = 2000;

	/** Minimum Zoom Level */
	public static final int MINIMUM_ZOOMLEVEL = 0;

	/**
	 * Maximum Zoom Level - we use Integers to store zoom levels so overflow happens at 2^32 - 1,
	 * but we also have a tile size that is typically 2^8, so (32-1)-8-1 = 22
	 */
	public static final int MAXIMUM_ZOOMLEVEL = 22;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy