[OSM-dev] "Retina" tiles - best way to support them?

Robert Joop 5313501608656osm at rainbow.in-berlin.de
Fri Jul 20 09:57:26 BST 2012


On 12-07-20 10:07:37 CEST, Peter Körner wrote:
> On 17.07.2012 20:25, Robert Joop wrote:
> >But I’ve copied your page, adjusted the style and tiles URIs and added a
> >viewport.
> >As expected, it doesn’t make any visible difference on an iPhone 3
> >(pixel ratio 1), but the difference is remarkable on e.g. an HTC Sensation
> >(pixel ratio 1.5) or an iPhone 4 (pixel ratio 2).
> >
> >See https://mlist.timesink.de/osm-geofabrik-highres/ for some screen
> >shots.
> 
> That looks amazing!
> Can the index.html be reached somehow to see the result on my own devices?

You should adjust the viewport to one that fits your device.
I attach the file, it should work even when you put it on your local
machine accessible via http://localhost/mobile.html .

Have fun,
rj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120720/51bd7095/attachment.html>


More information about the dev mailing list