// Created by plusminus on 18:00:24 - 25.09.2008 package com.mutu.mapapi.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 = 300; 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 = 21; }