[Users] MapfishPrintProvider in GeoExt2

Shadin A shadin__a at hotmail.com
Tue Sep 25 18:38:27 CEST 2012





Thank you Chris( well, I found another print example in GeoExt 1 page ( print page exampleit uses 2 classes : PrintProvidor and PrintPage
Since PrintProvidor is outdated.. is that mean I am not able to use PrintPage for now ?Date: Mon, 24 Sep 2012 08:30:59 +0200
From: mayer at terrestris.de
To: shadin__a at hotmail.com
CC: users at geoext.org
Subject: Re: [Users] MapfishPrintProvider in GeoExt2


  
    
  
  
    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: mayer at terrestris.de

          To: users at geoext.org

          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
Users at geoext.org
http://www.geoext.org/cgi-bin/mailman/listinfo/users

          
          

          

          _______________________________________________
          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/20120925/a1fb255b/attachment.htm 


More information about the Users mailing list