getMarkerStyle

open fun getMarkerStyle(res: Resources, drawableInt: Int, size: Float, billboardScaling: BillboardScaling): MarkerStyle

Creates and returns MarkerStyle

Return

MarkerStyle

Parameters

res

Application Resources

drawableInt

Drawable image

size

Size of Marker

billboardScaling

Scaling type


open fun getMarkerStyle(drawable: Drawable, size: Float, billboardScaling: BillboardScaling): MarkerStyle

Creates and returns MarkerStyle

Return

MarkerStyle

Parameters

drawable

Drawable image

size

Size of Marker

billboardScaling

Scaling type


open fun getMarkerStyle(res: Resources, drawableInt: Int, size: Float, billboardScaling: BillboardScaling, anchorPointX: Float, anchorPointY: Float): MarkerStyle

Creates and returns MarkerStyle

Return

MarkerStyle

Parameters

res

Application Resources

drawableInt

Drawable image

size

Size of Marker

billboardScaling

Scaling type

anchorPointX

x coordinate for the marker

anchorPointY

y coordinate for the marker


open fun getMarkerStyle(drawable: Drawable, size: Float, billboardScaling: BillboardScaling, anchorPointX: Float, anchorPointY: Float): MarkerStyle

Creates and returns MarkerStyle

Return

MarkerStyle

Parameters

drawable

Drawable image

size

Size of Marker

billboardScaling

Scaling type

anchorPointX

x coordinate for the marker

anchorPointY

y coordinate for the marker


open fun getMarkerStyle(context: Context, drawableInt: Int, size: Float, billboardScaling: BillboardScaling, billboardOrientation: BillboardOrientation): MarkerStyle

Creates and returns MarkerStyle

Return

MarkerStyle

Parameters

context

Application context

drawableInt

Drawable image

size

Size of Marker

billboardScaling

Scaling type

billboardOrientation

orientation type


open fun getMarkerStyle(context: Context, drawableInt: Int, size: Float): MarkerStyle

Creates and returns MarkerStyle, uses default billboard scaling

Return

MarkerStyle

Parameters

context

Application Context

drawableInt

Drawable image

size

Size of Marker


open fun getMarkerStyle(context: Context, drawable: Drawable, size: Float): MarkerStyle

Creates and returns MarkerStyle, uses default billboard scaling

Return

MarkerStyle

Parameters

context

Application Context

drawable

Drawable image

size

Size of Marker