[OpenLayers-Users] Re: use sub-zoomlevels

Andreas Hocevar ahocevar at opengeo.org
Tue Nov 29 14:10:15 EST 2011


This does not work with Layer.Google. AFAIK this is not supported by
the GMaps API. It works for Layer.Bing though, because other than
Google, we can access Bing tiles directly.

Anderas.

On Tue, Nov 29, 2011 at 12:07 PM, stefano parodi <fanenji at gmail.com> wrote:
> Hi,
>
> does the client zoom with "fractionalZoom: true" work for Google layers too?
>
> I managed to get it working for an OSM layer but not for Google.
>
> Thanks.
>
> Stefano.
>
>
>>
>> Message: 5
>> Date: Mon, 28 Nov 2011 16:36:20 +0100
>> From: Andreas Hocevar <ahocevar at opengeo.org>
>> Subject: Re: [OpenLayers-Users] Re: use sub-zoomlevels
>> To: "Sveen, Atle Frenvik (Geomatikk-IKT)"
>>        <Atle-Frenvik.Sveen at geomatikk-ikt.no>
>> Cc: "Morper-Busch, Lucia" <Lucia.Morper-Busch at sbg.ac.at>,
>>        "openlayers-users at lists.osgeo.org" <openlayers-users at lists.osgeo.org>
>> Message-ID:
>>        <CANrS==OSB4C8SzsVw=PWr2Egxsd4ePzAuQvUPJugXOa+5Wn5RA at mail.gmail.com>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> Hi,
>>
>> this suggestion only works if you have configured your map with
>> fractionalZoom: true. And if you use OpenLayers trunk, this also works
>> for cached layers.
>>
>> One academic caveat though: you know that 1:250000 will only be
>> 1:250000 if your screen resolution is exactly 72dpi.
>>
>> Andreas.
>>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list