[Users] Error while try to display LegendGraphics in Layer Tree

Jehanzeb Orakzai jehanzeb_orakzai at yahoo.com
Tue Jul 20 12:44:41 CEST 2010


Hi Miles,
 
Thank you for the reply.
 
I have tried this also, but no luck. If u have a working example can you post it please.


Thank you,
--
Jehanzeb

--- On Tue, 20/7/10, Miles Jordan <Miles.Jordan at aad.gov.au> wrote:


From: Miles Jordan <Miles.Jordan at aad.gov.au>
Subject: RE: [Users] Error while try to display LegendGraphics in Layer Tree [SEC=Unclassified]
To: "'Jehanzeb Orakzai'" <jehanzeb_orakzai at yahoo.com>, "users at geoext.org" <users at geoext.org>
Date: Tuesday, 20 July, 2010, 6:16


Jehanzeb Orakzai wrote:
> My problem is still there, giving me the same error, pointing towards
> LayerLoader.js

Your createNode function isn't returning anything. i.e. change

GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);

to

return GeoExt.tree.LayerLoader.prototype.createNode.call(this, attr);

I'm no expert, but that's what I did.

Regards,

Miles



___________________________________________________________________________

    Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
        Visit our web site at http://www.antarctica.gov.au/ 
___________________________________________________________________________



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100720/6140fb24/attachment.htm 


More information about the Users mailing list