Builder
Constructors
Link copied to clipboard
LocationDisplayRule builder Default values are:
- Marker visible
- No icon
- Label visibility: shown
- Label template:
"{{name}}"
(the value of DEFAULT_POI_LABEL_TEMPLATE)
Link copied to clipboard
open fun Builder(@NonNull name: String, @NonNull srcLocationDisplayRule: LocationDisplayRule)
Content copied to clipboard
Functions
Link copied to clipboard
@NonNull
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource Note that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.BitmapDrawable resource
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.BitmapNote that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.Bitmap
Link copied to clipboard
@NonNull
Content copied to clipboard
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets the anchor point for the marker
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets a label to be rendered along with a location's icon (or alone if an icon hasn't been set) The label can be:
null
to not show a label- A literal string
- A template to render the location's name (
"{{name}}"
), the externalId ("{{externalId}}"
) or both ("{{externalId}} {{name}}"
)
"{{name}}"
) as its labelLink copied to clipboard
@NonNull
Content copied to clipboard
Sets the zoom off/to value for the label The value is in the same range as zoomThe POI will be visible if zOn <= zoom
Link copied to clipboard
Sets the zoom on/from value for the label The value is in the same range as zoomThe POI will be visible if zOn <= zoom
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets display rule's clustering id
Link copied to clipboard
Sets the icon tint color
Link copied to clipboard
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.VectorDrawable resource Note that the size of the icon will be set to the default one set by setDisplayRuleDefaultIconSize
@NonNull
Content copied to clipboard
Sets the icon for this rule using a android.graphics.drawable.VectorDrawable resource
Link copied to clipboard
Visibility defaults to
true
Link copied to clipboard
Sets the zoom off/to value for the icon The value is in the same range as zoomThe POI will be visible if zOn <= zoom
Link copied to clipboard
Sets the zoom on/from value for the icon The value is in the same range as zoomThe POI will be visible if zOn <= zoom