[Users] Printing Error: center.lon is null or not an object

Graeme Gould graeme.gould at grandunionhousing.co.uk
Thu Nov 10 17:47:30 CET 2011


Hi

I am just starting out using GeoExt and have been trying to get my map to print using the Geoserver Printing Module but keep getting an error saying 'center.lon is null or not an object |  PrintProvider.js | line 401'

Does anyone have any idea why this might be?  I am using GeoExt 1.0, Geoserver 2.1.1 and ext 3.2.1.  I have tried with both the GET and Post methods and have got the <script type="text/javascript" src="http://IPAddress/geoserver/pdf/info.json?var=printCapabilities"></script> line in the main html.

Any help would be greatly appreciated

Graeme


---------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use 
of the individual or entity to whom they are addressed. If you have received this email in 
error please let us know by email reply and delete it from your system. 

Please note that any views or opinions presented in this email are solely those of the 
author and do not necessarily represent those of Grand Union Housing Group. 

Finally, the recipient should check this email and any attachments for the presence of viruses. 
Grand Union Housing Group accepts no liability for any damage caused by any virus 
transmitted by this email. 

Grand Union Housing Group
Registered Office: 
Katherines House
Dunstable Street
Ampthill
Bedfordshire
MK45 2JP 
Registered under the Industrial and Provident Societies Act 1965 Registered No. 30388R 
Housing Corporation Registered No. L4518 

http://www.grandunionhousing.co.uk
--------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20111110/2c3a434c/attachment.htm 


More information about the Users mailing list