[OpenLayers-Users] enabling map.fractionalZoom crashes SphericalMercator layers (Google/Yahoo and maybe others)

Eric Lemoine eric.lemoine at camptocamp.com
Thu Sep 24 00:42:34 EDT 2009


On Wednesday, September 23, 2009, cgp <carina_palanca at forcorp.com> wrote:
>
> Hi,
> I had the same problem a while ago with the Google base layers, and if I
> remember correctly, it had something to do with the fact that Google map
> tiles have fixed zoom levels, which means that it doesn't support
> fractionalZoom.

Right. You cannot use fractionalZoom when using google, or any other
fixed-resolutions layers.




>
> http://groups.google.co.in/group/Google-Maps-API/browse_thread/thread/f7ac15c824a7b0c6
>
> Like I said, that was a while back (about 2 months ago) and I haven't tried
> it since. Maybe they've added support to that or something. Who knows?
>
> I don't know about the other layers: Yahoo, Virtual Earth etc as I have not
> worked with them.
>
>
>
>
>
> BrainDrain wrote:
>>
>> Hi all!
>> I'm a Little Confused. Simply adding fractionalZoom: true to map options
>> (or for ex. here:
>> http://openlayers.org/dev/examples/spherical-mercator.html) crashes my
>> webapp (on map.zoomToMaxExtent())!
>> I use my huge amount of vector data (map server output projection is
>> spherical mercator) as an overlay to google map. And I need
>> fractionalZoom! How can I fix that???
>> Look in to the attachment.
>>  http://n2.nabble.com/file/n3702339/SpericalMercator.zip
>> SpericalMercator.zip
>> Thanks.
>>
>
> --
> View this message in context: http://n2.nabble.com/enabling-map-fractionalZoom-crashes-SphericalMercator-layers-Google-Yahoo-and-maybe-others-tp3702339p3702400.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list