[OpenLayers-Users] Saving with a Google Maps base layer

Chris Adams chris at genieknows.com
Wed Apr 29 09:19:52 EDT 2009


The google scales are given in the open layers code, you should be able 
to calculate it easily.

Christopher Schmidt wrote:
> On Tue, Apr 28, 2009 at 01:59:05PM -0700, Gregor at HostGIS wrote:
>   
>> Chris Adams wrote:
>>     
>>> How about this?
>>> http://code.google.com/apis/maps/documentation/staticmaps/
>>>       
>> Hey, nice!
>>
>> I do see 1 issue with some uses: "640x640 is the largest image size 
>> allowed" So you may have to figure up, say, 4 references points within 
>> the image and make those queries to get the images. Of course, that 
>> means multiple "Powered by Google" texts.
>>
>> The use of viewport, looks as if it would return an image not matching 
>> your requested bounds, so computing how to blit that into your final 
>> product may not be feasible.
>>     
>
> In my experience, this is the case: you don't know what the actual
> extent of the resulting image was. Maybe that's changed since I looked.
>
> -- Chris
>
>   
>> Fascinating idea, though. I will contact one of our customers who does 
>> use Google Maps under OL and who has been wanting to print them, and see 
>> whether he'll fund 1-3 hours of R&D. If he does, I'll be updating the 
>> Printing page.
>>
>> -- 
>> HostGIS, Open Source solutions for the global GIS community
>> Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
>> Network+   Server+   A+   Security+
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>     
>
>   





More information about the Users mailing list