[OpenLayers-Dev] map zoom default value

Eric Lemoine eric.lemoine at camptocamp.com
Sat May 29 11:15:31 EDT 2010


On Thursday, May 27, 2010, Pierre Giraud <pierre.giraud at camptocamp.com> wrote:
> Hi all,
>
> Just a really quick question : Is there any good reason why the
> OpenLayers.Map zoom default value is 0 ? Shouldn't it be null ?

I think it should.

Pierre and I actually had a look at that and we figured that just
setting zoom to null in the Map prototype would break the PanZoomBar.

-- 
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 Dev mailing list