[Cartoweb-users] Zooming in even when it should zoom out

Loic Devaux devloic at gmail.com
Wed Sep 26 15:39:35 EDT 2007

This happened to me too when I disabled some tool in toolbar.tpl instead of
disabling it with a negative weight in the ini file .

var elt = xGetElementById(cw3_tools[i] + '_icon');
if(elt == null) return;

in setActiveToolButton function in  carto.js couldn't find the "cw3_tools[i]
+ '_icon'" element so the loop breaked and the active tool stayed on zoomin.

Maybe you can check "cw3_tools = new Array" in the rendered html to find out
which tool causes the problem or make step by step debug with firebug.


On 9/26/07, Milo van der Linden <mlinden at zeelandnet.nl> wrote:
>  Hello list,
> I am having a small problem. My Cartoweb keeps zooming in, even when it
> should zoom out.
> Any idea?
>  --
>  Milo van der Linden
> skype: milovanderlinden
> mlinden at zeelandnet.nl
> milovanderlinden at gmail.com
> milo at 3dsite.nl
> http://www.3dsite.nl
> De informatie in dit bericht reflecteert mijn persoonlijke mening en niet
> die van een bedrijf of instantie. Aan de informatie kunnen geen rechten
> worden ontleend. Indien dit bericht onderdeel is van een forum, mailing-list
> of community dan gelden automatisch de bij het betreffende medium behorende
> voorwaarden. The information in this message reflects my personal opinion
> and not that of a company or public body. All rights reserved.If this
> message is contained in a mailing-list or community, the rights on the
> medium are automatically adapted.
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070926/84b64550/attachment.html

More information about the Cartoweb-users mailing list