[OpenLayers-Users] Printing with google baselayers?

Greg Allensworth gregor at greeninfo.org
Mon Jul 18 12:27:45 EDT 2011


> We solved this by using static mas
> api in connection with wms data as there is no access to the map tiles
> through OL. Or at least there was none a while ago.

Yep; not only do Google's TOU forbid such handling of the tiles, but 
their API doesn't provide a way to access it anyway. So any kludge you 
did come up with would be likely to break in weeks, months, maybe even a 
year.

For printing purposes, though, I'm still not sure about using the Static 
Maps API: "Note that static maps may only be displayed within browser 
content; use of static maps outside of the browser is not allowed. 
(Google Maps API Premier users are waived of this requirement.)"

That's been our sticking point about using the Static maps API for 
printing purposes. I suppose one could argue a case that you're 
generating a PDF from a browser request, but once the PDF is downloaded 
it's surely not in the browser anymore.

-- 
Greg Allensworth
Web GIS Developer, GreenInfo Network
BS  A+  Network+  Security+  Linux+  Server+


More information about the Users mailing list