mapbox-maps-android
mapbox-maps-android
/
com.mapbox.maps
/
ViewAnnotationAnchorConfig
/
Builder
Builder
class
Builder
Constructors
Functions
Constructors
Builder
Link copied to clipboard
open
fun
Builder
(
)
Functions
anchor
Link copied to clipboard
open
fun
anchor
(
@
NonNull
anchor
:
ViewAnnotationAnchor
)
:
ViewAnnotationAnchorConfig.Builder
Anchor describing where the view annotation will be located relatively to given geometry.
build
Link copied to clipboard
open
fun
build
(
)
:
ViewAnnotationAnchorConfig
offset
X
Link copied to clipboard
open
fun
offsetX
(
offsetX
:
Double
)
:
ViewAnnotationAnchorConfig.Builder
Extra X offset in `platform pixels`.
offset
Y
Link copied to clipboard
open
fun
offsetY
(
offsetY
:
Double
)
:
ViewAnnotationAnchorConfig.Builder
Extra Y offset in `platform pixels`.