AbstractLatLonGraticuleLayer

abstract class AbstractLatLonGraticuleLayer(name: String) : AbstractGraticuleLayer, GridTilesSupport.Callback

Inheritors

Constructors

Link copied to clipboard
constructor(name: String)

Types

Properties

Link copied to clipboard

The graticule division and angular display format. Can be one of AngleFormat.DD, AngleFormat.DMS or AngleFormat.DM.

Link copied to clipboard
open override var displayName: String?
Link copied to clipboard
open override var isDynamic: Boolean
Link copied to clipboard
open override var isEnabled: Boolean
Link copied to clipboard
open override var isPickEnabled: Boolean
Link copied to clipboard
open override var maxActiveAltitude: Double
Link copied to clipboard
open override var minActiveAltitude: Double
Link copied to clipboard
open override var opacity: Float

Functions

Link copied to clipboard
fun addLabel(value: Angle, labelType: String, graticuleType: String, resolution: Double, labelOffset: Location)
Link copied to clipboard
fun addRenderable(renderable: Renderable, paramsKey: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun createLineRenderable(positions: List<Position>, pathType: PathType): Path
Link copied to clipboard
fun createTextRenderable(position: Position, label: String, resolution: Double): Label
Link copied to clipboard
open override fun doRender(rc: RenderContext)
Link copied to clipboard

Returns the graticule line Color.

Link copied to clipboard

Returns the graticule line rendering style.

Link copied to clipboard

Returns the graticule line width.

Link copied to clipboard
open override fun getGridColumn(longitude: Angle): Int
Link copied to clipboard
open override fun getGridRow(latitude: Angle): Int
Link copied to clipboard
open override fun getGridSector(row: Int, col: Int): Sector
Link copied to clipboard

Returns the graticule label Color.

Link copied to clipboard

Returns the Font used for graticule labels.

Link copied to clipboard
open fun getProjectedSector(sector: Sector): Sector
Link copied to clipboard
fun getSurfacePoint(rc: RenderContext, latitude: Angle, longitude: Angle): Vec3
Link copied to clipboard
abstract fun getTypeFor(resolution: Double): String
Link copied to clipboard
open override fun getUserProperty(key: Any): Any?
Link copied to clipboard
open override fun hasUserProperty(key: Any): Boolean
Link copied to clipboard

Returns whether graticule lines will be rendered.

Link copied to clipboard

Returns whether graticule labels will be rendered.

Link copied to clipboard
Link copied to clipboard
open override fun putUserProperty(key: Any, value: Any): Any?
Link copied to clipboard
open override fun removeUserProperty(key: Any): Any?
Link copied to clipboard
open override fun render(rc: RenderContext)
Link copied to clipboard
fun setDrawGraticule(drawGraticule: Boolean, key: String)

Sets whether graticule lines will be rendered.

Link copied to clipboard
fun setDrawLabels(drawLabels: Boolean, key: String)

Sets whether graticule labels will be rendered.

Link copied to clipboard

Sets the graticule line Color.

Link copied to clipboard
fun setGraticuleLineStyle(lineStyle: LineStyle, key: String)

Sets the graticule line rendering style.

Link copied to clipboard
fun setGraticuleLineWidth(lineWidth: Float, key: String)

Sets the graticule line width.

Link copied to clipboard
fun setLabelColor(color: Color, key: String)

Sets the graticule label Color.

Link copied to clipboard
fun setLabelFont(font: Font, key: String)

Sets the Font used for graticule labels.

Link copied to clipboard