CustomLayerMapProjection

Functions

Link copied to clipboard
@Nullable
abstract fun convertMercatorModelMatrix(@NonNull matrix: List<Double>, ignoreDistortion: Boolean): List<Double>
Convert a model matrix to be usable with the currently active projection.
Link copied to clipboard
@NonNull
abstract fun getModelMatrix(): List<Double>
Returns a model matrix for transforming coordinates from the local coordinate space of the active projection into the world coordinate space.
Link copied to clipboard
@NonNull
abstract fun getTransitionMatrix(): List<Double>
Returns a specialized model matrix for supporting rendering of custom geometry during transition between the active projection and mercator projection.
Link copied to clipboard
abstract fun getTransitionPhase(): Float
Returns normalized value [0, 1] describing phase of the transition between the currently active projection and mercator projection.