Package com.massifmaps.components
Class TileLODProfile
java.lang.Object
com.massifmaps.components.TileLODProfile
A named set of the tile LOD numbers, so a platform picks a density with one call rather
than by tuning four knobs that multiply.
than by tuning four knobs that multiply.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceThe accepted values of this constant namespace. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intA full level finer than the reference (TileLODFactor 0.5, the historical default),
about 4x its tile count.static final intHalf a level finer than the reference, with a shorter style zoom lift.static final intThe reference density: TileLODFactor 1, which is tangram's rule, mapbox's and
maplibre's alike - a tile is refined while it covers more than a 2x2 block of nominal
tiles. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TILE_LOD_PROFILE_REFERENCE
public static final int TILE_LOD_PROFILE_REFERENCEThe reference density: TileLODFactor 1, which is tangram's rule, mapbox's and
maplibre's alike - a tile is refined while it covers more than a 2x2 block of nominal
tiles. Fewest tiles, and what every reference renderer ships.- See Also:
-
TILE_LOD_PROFILE_MOBILE
public static final int TILE_LOD_PROFILE_MOBILEHalf a level finer than the reference, with a shorter style zoom lift. Meant for a
phone: visibly sharper than the reference at roughly twice its tile count.- See Also:
-
TILE_LOD_PROFILE_DESKTOP
public static final int TILE_LOD_PROFILE_DESKTOPA full level finer than the reference (TileLODFactor 0.5, the historical default),
about 4x its tile count. Meant for a desktop or a web page on a real GPU.- See Also:
-
-
Constructor Details
-
TileLODProfile
public TileLODProfile()
-