Add Retina Display Support (issue #206)#222
Add Retina Display Support (issue #206)#222andrewgiessel merged 1 commit intopython-visualization:masterfrom
Conversation
|
I can try it too
|
|
@andrewgiessel can you review and merge this one too? |
|
Ya let me try tonight!
|
|
Ok, this looks good to go! I verified this 2 different ways:
So, I think this is good. Can I merge? It's one commit- do I need to clean it up at all? |
Merge away! Thanks @BibMartin for the implementation and @andrewgiessel for the review. |
Add Retina Display Support (issue #206)
|
Do you guys know why Leaflet defaults |
|
My guess is bandwidth. Downloading 2x the tiles you can see On Fri, Nov 13, 2015 at 08:00 Antonio Lima notifications@github.com wrote:
|
|
Mapbox-powered maps (FourSquare & co.) and GMaps default to True, despite bandwidth. 😀 |
|
I guess that there are other reasons: |
|
After all, it seems it's because of this: "detectRetina is optional (false by default) to prevent map features (like city titles) from being too small to read on retinal tiles" (source: Leaflet/Leaflet@443181a). I don't think we care about that, should we turn it on by default? |
|
How about the performance issue I mentioned above? Ironically it happens only on the IPad using Safari:
|
|
Sorry, I thought it was solved because I saw "closed". I'll test it and see if still applies, that's an issue from 2013 so it might have been solved from iOS side. |
|
I guess it is worth asking that question in the leaflet issue page. |
|
On my iPhone there were no performance issues. But yes, the text labels are incredibly small and unreadable, I think that is the reason behind that. Let's see what they say. 👍 |
|
We have to bare in mind that setting |
|
We have an official answer: |
|
Cool, let's leave it as it is. 👍 |
|
We should improve the docs though. Highlighting the option and say why |


I have no retina display ; so I have no possibility to see how Leaflet reacts.
Maybe @francisbautista can confirm that this works.