[OpenLayers-Users] Printing with google baselayers?

Dominik Mikiewicz dominikmikiewicz at o2.pl
Mon Jul 18 15:21:05 EDT 2011


In my case the point was:  "Google Maps API Premier users are waived of this
requirement."
We went for the premiere api for the project I mentioned. And using static
maps api works fine in this case, although we had to write a customized
serverside of course ;-)

-----Original Message-----
From: Greg Allensworth [mailto:gregor at greeninfo.org] 
Sent: Monday, July 18, 2011 6:28 PM
To: Dominik Mikiewicz
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Printing with google baselayers?

> 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