[ka-Map-users] KaLegend Tweak IV

Marc Pfister mpfister at enplan.com
Mon Jan 16 17:30:55 EST 2006


I've now got the legend working like I'd like it to:

http://www.enplan.com/mapserver/kamap-cvs/index.html

Changes:

1. Legend order reflects draw order in the traditional GIS sense
2. Layer movement stops work better 
2. All annotation not associated with a group is added to a hidden layer
"__anno__" that is always drawn on top.

In the example map the road name annotation is in the __anno__ layer in
the first zoom scale. Zooming it that annotation layer is off by the
min/maxscales in the mapfile. Another annotation layer in the "Roads"
group is turned on at that scale, and you can see that it turns off and
on with the layer.

This required changes to tile.php, kalegend.js, and init.php

Next I'd like turn off the up and down move layer IMGs when a layer is
on the very top or very bottom.

Marc




--
Marc Pfister
ENPLAN 
mpfister at enplan.com
530/221-0440
530/221-6963 Fax



More information about the ka-Map-users mailing list