org.oscim.utils.Parameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vtm Show documentation
Show all versions of vtm Show documentation
OpenGL vector map library written in Java - running on Android, iOS, Desktop and within the browser.
/*
* Copyright 2017-2019 devemux86
*
* This program is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
* PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License along with
* this program. If not, see .
*/
package org.oscim.utils;
public final class Parameters {
/**
* If true the Animator2
will be used instead of default Animator
.
*/
public static boolean ANIMATOR2 = true;
/**
* Allow custom scale factor for short vertices instead of the calculated one.
*/
public static boolean CUSTOM_COORD_SCALE = false;
/**
* Allow custom tile size instead of the calculated one.
*/
public static boolean CUSTOM_TILE_SIZE = false;
/**
* If true the MapEventLayer2
will be used instead of default MapEventLayer
.
*/
public static boolean MAP_EVENT_LAYER2 = false;
/**
* Maximum buffer size for map files.
*/
public static int MAXIMUM_BUFFER_SIZE = 8000000;
/**
* Calculation of centroids for all polygons.
* (may affect performance)
*/
public static boolean POLY_CENTROID = false;
/**
* Optimal placement of labels or symbols on polygons.
*/
public static boolean POLY_LABEL = false;
/**
* Placement of symbols on polygons.
*/
public static boolean POLY_SYMBOL = true;
/**
* POT textures in themes.
*/
public static boolean POT_TEXTURES = false;
/**
* Reduce points on-the-fly while reading from map files.
* e.g. 0 (no simplification), 2, 4, ...
*/
public static int SIMPLIFICATION_TOLERANCE = 0;
/**
* Texture atlas in themes.
*/
public static boolean TEXTURE_ATLAS = false;
/**
* Threaded system initialization.
*/
public static boolean THREADED_INIT = false;
private Parameters() {
throw new IllegalStateException();
}
}