smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Print out pdf file had blank map for Google Maps #395

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I installed  mapfish print  module as the method as Java.It run  
http://localhost/mapfish/print/info.json OK. But while Heron print dialog and 
print direct printed out pdf file,it show no map in the pdf file. Please help 
me!

Original issue reported on code.google.com by nmth...@gmail.com on 29 Jul 2014 at 3:04

GoogleCodeExporter commented 9 years ago
Hi,
This is a bug/feature tracker; it's for bugs and feature requests. You'd be 
better positions if you posted to the Heron group/list; more people would be 
able to help you.

Also, you'll need to include a lot more information about your configration.

Original comment by jonathan...@warwickshire.gov.uk on 29 Jul 2014 at 9:06

GoogleCodeExporter commented 9 years ago
Issue 396 has been merged into this issue.

Original comment by jonathan...@warwickshire.gov.uk on 29 Jul 2014 at 9:48

GoogleCodeExporter commented 9 years ago
Hi,jonathan
Before, I use Google map to be the basemap. It print out no map. Then I add 
OpenStreeMap to the basemap container, and I add a host 
host:a.tile.openstreetmap.org to config.yaml file. Then, I printed out. It's 
fine to show the openstreetmap in the pdf file. So I think google map maybe the 
casue of this issue. How could I do to print out for the google map? I Attach 
my config.yaml .Thanks, Please. 

Original comment by wean....@gmail.com on 29 Jul 2014 at 3:47

Attachments:

GoogleCodeExporter commented 9 years ago
IMO there's no support for Google Maps printing in current GeoExt: 
https://github.com/cspanring/geoext/commit/8f25038b02cfea34317c3d2bbeef7dac3e835
893

Original comment by martin.k...@gmail.com on 29 Jul 2014 at 4:09

GoogleCodeExporter commented 9 years ago
It is/was even illegal to access individual Google Maps tiles outside of the 
GMaps API. So I always recommend to not use Google Maps unless really required. 
OpenStreetMap is a more open alternative in most cases with many different 
renderings. Look e.g.  http://www.4umaps.eu .But appearantly there is something 
like Google static maps: 
https://developers.google.com/maps/documentation/imageapis. 

This commit 
https://github.com/cspanring/geoext/commit/8f25038b02cfea34317c3d2bbeef7dac3e835
893 adds GMaps support for GeoExt so we may add this to Heron overrides of 
GeoExt for now. So i think this ticket is valid. Will take some time to fully 
integrate and test. Also adapted the issue title to reflect the problem.

Original comment by jus...@gmail.com on 5 Aug 2014 at 1:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thanks,I see.I use OpenStreetmap now.

Original comment by wean....@gmail.com on 5 Aug 2014 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by jus...@gmail.com on 12 Dec 2014 at 1:38