[ka-Map-users] kaLegend

Andrea Cappugi kappu72 at gmail.com
Wed Nov 23 09:01:51 EST 2005


Hi Paul,
in kaLegend.js I have changed line 135:

this.domObj.removeChild( aLayers[i].kaLegendObj );

with:

  *try*{this.domObj.removeChild( aLayers[i].kaLegendObj );}
	    *catch*(e){};

Before switching between maps with diferent layer number from higher
(number) to lower kaLegend.js crashed.
Now It updates the legend.
Regs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20051123/0cd28ae2/attachment.html


More information about the ka-Map-users mailing list