Hi,

the example seems to outdated. You should use the MapfishPrintProvider.
The example is a bit outdated. I opened an issue for that:

https://github.com/geoext/geoext2/issues/161

Best regards,
Chris

  

On 22.09.2012 15:04, Shadin A wrote:
>
> Thanks !
> but this example is using 'GeoExt.data.PrintProvider' while it is not
> in the source
> files https://github.com/geoext/geoext2/tree/master/src/GeoExt/data
> there is a MapfishPrintProvider.js instead
>
> which one i supposed to use ?
> ------------------------------------------------------------------------
> Date: Thu, 20 Sep 2012 20:05:05 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Users] MapfishPrintProvider in GeoExt2
>
> Hello Shadin,
>
> here is a working examples for a print preview with GeoExt 2:
>
> http://geoext.github.com/geoext2/examples/printpreview/print-preview.html
>
> The requirements are defined as follows:
>
> Ext.require([
>     'Ext.Window',
>     'GeoExt.panel.Map',
>     'GeoExt.data.PrintProvider',
>     'GeoExt.panel.PrintMap'
> ]);
>
> Maybe this pushes you forward.
>
> Best regards,
> Chris
>
>
> Am 19.09.2012 10:26, schrieb Shadin A:
>
>     I am trying to implement a print preview using GeoExt 2 : 
>
>     https://github.com/geoext/geoext2/tree/master/examples/printpreview
>
>     everything seems OK except that when i add : 
>
>     *Ext.require([ 
>     'GeoExt.data.MapfishPrintProvider', 
>     . 
>     . 
>     .*
>
>     I got error says that MapfishPrintProvide.js was not found on
>     GeoExt path: 
>     http://geoext.github.com/geoext2/src/GeoExt/
>
>     although all other files like GeoExt.panel.PrintMap and
>     GeoExt.panel.Map are being loaded just okay. 
>
>
>     _______________________________________________
>     Users mailing list
>     [email protected] <mailto:[email protected]>
>     http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________ Users mailing list
> [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to