-
Notifications
You must be signed in to change notification settings - Fork 400
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
blurry labels for markers #103
Comments
I've been working on this in mapbox/DEPRECATED-mapbox-ios-sdk#62 and mapbox/DEPRECATED-mapbox-ios-sdk#87, which I've closed in favor of this. Putting a |
I've got an attempted fix in the above commit on our |
Over in mapbox/DEPRECATED-mapbox-ios-sdk#87 we have noticed blurriness when setting a label which shows up on non-retina devices. As it turns out,
RMMarker
objects can have fractional coordinates and this is what causes it. If you snap them to integer pixel boundaries on click or otherwise before setting/showing the label, this is fixed.Do you have any ideas where the best place to do this would be? Right in
setLabel:
seems odd since that doesn't necessarily come at interaction time. But inshowLabel
won't be caught on first set/show, only on successive ones. Maybe in the gesture handling inRMMapView
?The text was updated successfully, but these errors were encountered: