Skip to content

Conversation

sxua
Copy link
Contributor

@sxua sxua commented Jul 30, 2012

Tested on iOS, Android 2.x, Chrome for Android, Safari on MacBook Pro Retina, Firefox mobile (beta) for Android, Opera Mobile (Android).

Tested on iOS, Android 2.x, Chrome for Android, Safari on MacBook Pro Retina, Firefox mobile (beta) for Android, Opera Mobile (Android).
@@ -95,6 +95,11 @@ L.Util = {
});
},

isRetina: function () {
return (('devicePixelRatio' in window && window.devicePixelRatio > 1) ||
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this into Browser.js to be more in ine with other Leaflet code

mourner added a commit that referenced this pull request Jul 30, 2012
Detect retina support snippet by Thomas Fuchs
@mourner mourner merged commit b9b967e into Leaflet:master Jul 30, 2012
@mourner
Copy link
Member

mourner commented Jul 30, 2012

Thanks!

@mourner mourner mentioned this pull request Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants