-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to make the overlapping background obscure the text? #760
Comments
Hi @M2dL1fe, please check out https://docs.mapbox.com/help/troubleshooting/optimize-map-label-placement/ |
I don't need Collision detection. |
@M2dL1fe, I see, could you provide a code snippet showcasing how you setup price markers to be shown? |
|
The same is true with the above Settings |
@M2dL1fe Thank you for the sample code, specify List<PointAnnotationOptions> createAnnotations() => list
.map((it) => PointAnnotationOptions(
geometry: it.key,
textField: it.value,
iconImage: "iconImage",
symbolSortKey: 1,
textJustify: TextJustify.CENTER,
textAnchor: TextAnchor.CENTER,
iconTextFit: IconTextFit.BOTH,
textColor: Colors.white.value,
textSize: 12,
- )
+ )..symbolSortKey = list.indexOf(it).toDouble()
)
.toList(); |
How do we do this when symbolSortKey is consistent? @evil159 |
The text was updated successfully, but these errors were encountered: