nakijun / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

When printing using either Bing or OpenStreetMap (CloudMade) basemaps we are stuck in a loop #228

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We see "Assembling map" over and over.  The maps Apache error.log shows it's 
trying to get data on Internet.  It shouldn't even be trying.  Google works 
appropriately which is 

1) If the basemap is the only layer at all, a dialog appears titled Print/Save 
error which says "There are no active datalayers to print" 
2) If Google is the basemap but there are other layers on top, Google drops out 
and the other layers print. 

Bing and OSM should work like Google.  Not sure why they don't.
Possibly a tweak needs to be made in the printSave function of map.js 

maps server Apache error.log:

[Wed Sep 04 13:06:57 2013] [error] [client 146.243.44.177] PHP Warning:  
file_get_contents(https://ecn.t2.tiles.virtualearth.net/tiles/h03023321222302.jp
eg?g=1515&amp;mkt=en-US) [<a 
href='function.file-get-contents'>function.file-get-contents</a>]: failed to 
open stream: Connection timed out in /opt/massgis/wwwroot/map_ol/print.php on 
line 52, referer: http://maps.massgis.state.ma.us/map_ol/oliver.php

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 4 Sep 2013 at 5:07