Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Markers appear fuzzy #8

Closed
IvanSanchez opened this issue Sep 27, 2016 · 4 comments
Closed

Markers appear fuzzy #8

IvanSanchez opened this issue Sep 27, 2016 · 4 comments

Comments

@IvanSanchez
Copy link

The markers appear fuzzy, probably to some non-integer offset when transforming them.

There should be some way to make markers keep integer offsets when transforming, altough this is probably not very easy to do without taking them out of the rotatePane and recalculating their positions on every bearing change.

@fnicollet
Copy link
Owner

Custom markers? The blue default markers of the simple example looks fine
to me?

On 27 Sep 2016 4:00 p.m., "Iván Sánchez Ortega" notifications@github.com
wrote:

The markers appear fuzzy, probably to some non-integer offset when
transforming them.

There should be some way to make markers keep integer offsets when
transforming, altough this is probably not very easy to do without taking
them out of the rotatePane and recalculating their positions on every
bearing change.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#8, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLtofYx_2K8ZQZRHZWFN49ztec0QPPhks5quSGHgaJpZM4KHs7L
.

@IvanSanchez
Copy link
Author

IvanSanchez commented Sep 27, 2016

screenshot_20160927_160452
screenshot_20160927_160452-zoomed

Nah, they become blurry, at least on firefox, due to sub-pixel sampling or something. The problem disappears when the bearing is set at zero.

Probably the browser is rotating the marker images twice, introducing some quality loss. The goal should be to rotate them zero times.

@fnicollet
Copy link
Owner

Thanks, cannot reproduce on Chrome, so that must be related to the
rendering engine being different in FF, probably the subpixel issue that
you know well :)

I'll try in FF with integer offset, see if that solve the issue but i am
afraid it would be from the parent container being rotated. Your suggestion
is to get the out of the rotatePane and place them in an absolute way?

On 27 Sep 2016 4:13 p.m., "Iván Sánchez Ortega" notifications@github.com
wrote:

[image: screenshot_20160927_160452]
https://cloud.githubusercontent.com/assets/1125786/18877110/68066e26-84cc-11e6-9aca-4b7329b23692.png
[image: screenshot_20160927_160452-zoomed]
https://cloud.githubusercontent.com/assets/1125786/18877109/67f854b2-84cc-11e6-9aa5-5bca6e1c3557.png


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABLtoUQXrlXkzm637nI7MnIn0fZCvR0dks5quSMNgaJpZM4KHs7L
.

@fnicollet
Copy link
Owner

Closed now that #21 has been merged, which fix the issue by not rotating the markers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants