We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188087a commit 3c7ca0bCopy full SHA for 3c7ca0b
android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Annotation.kt
@@ -23,7 +23,7 @@ fun ViewAnnotationOptions.Builder.geometry(point: Geometry): ViewAnnotationOptio
23
24
fun ViewAnnotationOptions.Builder.offsets(x: Double, y: Double) {
25
this.variableAnchors(listOf(
26
- ViewAnnotationAnchorConfig.Builder().anchor(ViewAnnotationAnchor.CENTER).offsetY(x).offsetY(y).build()
+ ViewAnnotationAnchorConfig.Builder().anchor(ViewAnnotationAnchor.CENTER).offsetX(x).offsetY(y).build()
27
))
28
}
29
0 commit comments