[Users] Legend printing

Matt Priour mpriour at kestrelcomputer.com
Wed Aug 24 15:17:43 CEST 2011


It comes from GeoExt.data.PrintProvider and can occur if you are using a layer class for which there is no known encoder.
Look through the encoders section at the end of the PrintProvider.js file and see if you are using an unsupported layer type and if you can modify the layer type you are using to get properly encoded by one of the encoders.
Matt Priour
Kestrel Computer Consulting

From: gbrun 
Sent: Wednesday, August 24, 2011 3:32 AM
To: users at geoext.org 
Subject: [Users] Legend printing

Hi everybody!

I've got a little problem to print layers legend. My code is similar to  
the one used for this example:  
http://api.geoext.org/1.0/examples/print-page.html

Firebug points this error out to me: 'encFn is undefined' for the line 279  
in the 'GeoExt.js' file.

I'm working with the GeoServer mapFish plugin. I don't know if the problem  
comes from this or from my GeoExt code, or even from my yaml file.

Does anyone know this issue?

Geoffrey
_______________________________________________
Users mailing list
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110824/72d6adda/attachment.htm 


More information about the Users mailing list