[Cartoweb-users] layer out of scale...
Oliver Christen
oliver.christen at camptocamp.com
Wed Apr 4 07:53:24 EDT 2007
Hi,
"document.carto_form.recenter_scale.options has no properties" means the scale dropdown menu is not present in your page. Did you deactivate it ?
regards
Oliver
----- Original Message -----
From: Štefan Voskár
To: cartoweb-users at lists.maptools.org
Sent: Wednesday, April 04, 2007 1:35 PM
Subject: [Cartoweb-users] layer out of scale...
Hi,
I have troubles with "out of scale icon"
I have tried it for few days, but with no success.
In demoCW3 it works fine but in my project doesn't :-(
Icon is displayed properly. Hint displays right scale to zoom.
I tried configure my new project step by step by democw3.
When I click on this icon I still obtain this issue:
Firebug:
document.carto_form.recenter_scale.options has no properties
goToScale("792")layers.js (line 198)
onclick(click clientX=0, clientY=0)client.php (line 1)
[Break on this error]
document.carto_form.recenter_scale.options.add(newOpt);
I use cvs version with Ajax enabled.
Here is the layer definition:
LAYER
NAME "river"
TYPE LINE
DATA "contours"
MAXSCALE 1000
CLASS
STYLE
COLOR 0 0 180
END
END
END
What is wrong please?
Have I omitted anything in mapfile?
Thank you
Stefan
------------------------------------------------------------------------------
_______________________________________________
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/20070404/94be72c2/attachment.html
More information about the Cartoweb-users
mailing list