routoMapSDK Android
routoMapSDK Android
/
com.mapbox.maps
/
DragInteraction
/
Companion
/
layer
layer
@
JvmOverloads
@
JvmStatic
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
fun
layer
(
id
:
String
,
filter
:
Value
?
=
null
,
onDragBegin
:
(
FeaturesetFeature
<
FeatureState
>
,
InteractionContext
)
->
Boolean
,
onDrag
:
(
InteractionContext
)
->
Unit
,
onDragEnd
:
(
InteractionContext
)
->
Unit
)
:
MapInteraction
For internal usage.