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 Light.unaryPlus()

Extension function for Light to overload Unary operations.

Apply +Light 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 = "addImage")
operator fun ImageExtensionImpl.unaryPlus()

Extension function for ImageExtensionImpl to overload Unary operations.

Apply +ImageExtensionImpl 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.