unaryPlus

@JvmName(name = "addLayer")
operator fun Layer.unaryPlus()

Extension function for Layer to overload Unary operations.

Apply +Layer will add the layer to the StyleExtensionImpl.


@JvmName(name = "addLayerAtPosition")
operator fun Pair<Layer, LayerPosition>.unaryPlus()

Extension function for Pair<Layer, LayerPosition> to overload Unary operations.

Apply +Pair<Layer, LayerPosition> will add the layer to the StyleExtensionImpl at given LayerPosition.


@JvmName(name = "addSource")
operator fun Source.unaryPlus()

Extension function for Source to overload Unary operations.

Apply +Source will add the source to the StyleExtensionImpl.


@JvmName(name = "setLight")
operator fun FlatLight.unaryPlus()

Extension function for FlatLight to overload Unary operations.

Apply +FlatLight will add the light to the StyleExtensionImpl.


@JvmName(name = "setLight")
operator fun DynamicLight.unaryPlus()

Extension function for DynamicLight to overload Unary operations.

Apply +DynamicLight will add the light to the StyleExtensionImpl.


@JvmName(name = "setTerrain")
operator fun Terrain.unaryPlus()

Extension function for Terrain to overload Unary operations.

Apply +Terrain will add the terrain to the StyleExtensionImpl.


@JvmName(name = "setAtmosphere")
operator fun Atmosphere.unaryPlus()

Extension function for Atmosphere to overload Unary operations.

Apply +Atmosphere will add the atmosphere to the StyleExtensionImpl.


@JvmName(name = "setProjection")
operator fun Projection.unaryPlus()

Extension function for Projection to overload Unary operations.

Using ProjectionName.GLOBE requires OpenGL GLES20.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS be more than zero. If GLES20.GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is zero (which may happen for low-end devices and old Android versions) - ProjectionName.GLOBE will fallback to ProjectionName.MERCATOR with the log warning.

Apply +Projection will add specific map projection to the StyleExtensionImpl.


@JvmName(name = "setTransition")
operator fun TransitionOptions.unaryPlus()

Extension function to add TransitionOptions to be applied when loading the style.


@JvmName(name = "setSnow")
operator fun Snow.unaryPlus()

Extension function for Snow to overload Unary operations.

Apply +Snow will add specific snow effect to the StyleExtensionImpl.


@JvmName(name = "setRain")
operator fun Rain.unaryPlus()

Extension function for Rain to overload Unary operations.

Apply +Rain will add specific snow effect to the StyleExtensionImpl.


@JvmName(name = "addImage")
operator fun ImageExtensionImpl.unaryPlus()

Extension function for ImageExtensionImpl to overload Unary operations.

Apply +ImageExtensionImpl will add the source to the StyleExtensionImpl.


@JvmName(name = "addModel")
operator fun ModelExtensionImpl.unaryPlus()

Extension function for ModelExtensionImpl to overload Unary operations.

Apply +ModelExtensionImpl will add the source to the StyleExtensionImpl.


@JvmName(name = "addImage9Patch")
operator fun ImageNinePatchExtensionImpl.unaryPlus()

Extension function for ImageNinePatchExtensionImpl to overload Unary operations.

Apply +ImageNinePatchExtensionImpl will add the source to the StyleExtensionImpl.