-
Notifications
You must be signed in to change notification settings - Fork 510
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
feat: Add myLocationStyle #985
feat: Add myLocationStyle #985
Conversation
android/src/main/java/com/mapbox/mapboxgl/MapboxMapController.java
Outdated
Show resolved
Hide resolved
please also run formatting
|
53db7df
to
d7fa581
Compare
d7fa581
to
1500fc1
Compare
if let pulsingColor = UIColor(hexString: style["pulsingColor"] ?? "") { | ||
userLocationAnnotationViewStyle.haloFillColor = pulsingColor | ||
} | ||
mapView.updateUserLocationAnnotationView() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felix-ht can you take a look?
mapView.updateUserLocationAnnotationView()
cannot help refresh new color after setState or hot reload
@Override | ||
public void setMyLocationStyle(Map myLocationStyle) { | ||
this.myLocationStyle = myLocationStyle; | ||
updateLocationComponentLayer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felix-ht can you take a look?
updateLocationComponentLayer()
cannot refresh new color after setState or hot reload
@felix-ht any update on this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Add myLocationStyle
PR for