Package org.oscim.utils
Class Parameters
java.lang.Object
org.oscim.utils.Parameters
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanIf true theAnimator2will be used instead of defaultAnimator.static booleanAllow custom scale factor for short vertices instead of the calculated one.static booleanAllow custom tile size instead of the calculated one.static booleanRendering of distant labels.static booleanIf true theMapEventLayer2will be used instead of defaultMapEventLayer.static booleanIf true the markers are sorted in y-axis.static intMaximum buffer size for map files.static booleanCalculation of centroids for all polygons.static booleanOptimal placement of labels or symbols on polygons.static booleanPlacement of symbols on polygons.static booleanPOT textures in themes.Simplification exceptions.static intReduce points on-the-fly while reading from vector maps.static Parameters.SymbolScalingSymbol scaling mode.static booleanTexture atlas in themes.static booleanThreaded system initialization. -
Method Summary
-
Field Details
-
ANIMATOR2
public static boolean ANIMATOR2If true theAnimator2will be used instead of defaultAnimator. -
CUSTOM_COORD_SCALE
public static boolean CUSTOM_COORD_SCALEAllow custom scale factor for short vertices instead of the calculated one. -
CUSTOM_TILE_SIZE
public static boolean CUSTOM_TILE_SIZEAllow custom tile size instead of the calculated one. -
DISTANT_LABELS
public static boolean DISTANT_LABELSRendering of distant labels. -
MAP_EVENT_LAYER2
public static boolean MAP_EVENT_LAYER2If true theMapEventLayer2will be used instead of defaultMapEventLayer. -
MARKER_SORT
public static boolean MARKER_SORTIf true the markers are sorted in y-axis. -
MAXIMUM_BUFFER_SIZE
public static int MAXIMUM_BUFFER_SIZEMaximum buffer size for map files. -
POLY_CENTROID
public static boolean POLY_CENTROIDCalculation of centroids for all polygons. (may affect performance)When a way will be rendered then typically a label / symbol will be applied by the render theme. If the way does not come with a defined labelPosition we should calculate a position, that is based on all points of the given way. This "auto" position calculation is also done in the LabelTileLoaderHook class but then the points of the way have been already reduced cause of the clipping that is happening. So the suggestion here is to calculate the centroid of the way and use that as centroidPosition of the element.
-
POLY_LABEL
public static boolean POLY_LABELOptimal placement of labels or symbols on polygons. -
POLY_SYMBOL
public static boolean POLY_SYMBOLPlacement of symbols on polygons. -
POT_TEXTURES
public static boolean POT_TEXTURESPOT textures in themes. -
SIMPLIFICATION_EXCEPTIONS
Simplification exceptions. -
SIMPLIFICATION_TOLERANCE
public static int SIMPLIFICATION_TOLERANCEReduce points on-the-fly while reading from vector maps. e.g. 0 (no simplification), 2, 4, ... -
SYMBOL_SCALING
Symbol scaling mode. -
TEXTURE_ATLAS
public static boolean TEXTURE_ATLASTexture atlas in themes. -
THREADED_INIT
public static boolean THREADED_INITThreaded system initialization.
-