[OpenLayers-Users] Zooming beyond 18

Steve Nelson snelson at webapper.com
Sat Apr 21 14:00:03 EDT 2012


That's exactly what I was hoping for.

How are those resolutions calculated? These lines:

var osm = new OpenLayers.Layer.OSM(null, null, {
        resolutions: [156543.03390625, 78271.516953125, 39135.7584765625,
                      19567.87923828125, 9783.939619140625,
4891.9698095703125,
                      2445.9849047851562, 1222.9924523925781,
611.4962261962891,
                      305.74811309814453, 152.87405654907226,
76.43702827453613,
                      38.218514137268066, 19.109257068634033,
9.554628534317017,
                      4.777314267158508, 2.388657133579254,
1.194328566789627,
                      0.5971642833948135, 0.25, 0.1, 0.05],
        serverResolutions: [156543.03390625, 78271.516953125,
39135.7584765625,
                            19567.87923828125, 9783.939619140625,
                            4891.9698095703125, 2445.9849047851562,
                            1222.9924523925781, 611.4962261962891,
                            305.74811309814453, 152.87405654907226,
                            76.43702827453613, 38.218514137268066,
                            19.109257068634033, 9.554628534317017,
                            4.777314267158508, 2.388657133579254,
                            1.194328566789627, 0.5971642833948135],
        transitionEffect: 'resize'
    });

On Sat, Apr 21, 2012 at 1:53 AM, Roald de Wit <list at rdewit.net> wrote:

> Hi Steve,
>
> You may be interested in the new client zoom functionality that will be
> available in OL 2.12. You can already use a release candidate [1].
> Here is an example that shows the behaviour: [2].
>
> Roald
>
> [1] http://openlayers.org/api/2.**12-rc1/OpenLayers.js<http://openlayers.org/api/2.12-rc1/OpenLayers.js>
> [2] http://openlayers.org/dev/**examples/clientzoom.html<http://openlayers.org/dev/examples/clientzoom.html>
>
>
> On 20/04/12 03:52, Steve Nelson wrote:
>
>> Is there a way to zoom beyond 18 (I'm using OSM, that's the max zoom at
>> my location) and provide my own images for those zoom levels? The map I'm
>> working on is a fixed point and only uses about 4 OSM tiles, the map
>> doesn't move. I was thinking if I used photoshop I could increase the size
>> of those 4 tiles and then increase the zoom level to say 20 and use those
>> newly created tiles.
>>
>> Is that possible?
>>
>> Steve
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>>
> ______________________________**_________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/openlayers-**users<http://lists.osgeo.org/mailman/listinfo/openlayers-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120421/61bc8f41/attachment.html


More information about the Users mailing list