Here's one piece of a possible solution: How To Capture and Print the Screen, a Form, or Any Window http://support.microsoft.com/?kbid=161299
<http://support.microsoft.com/?kbid=161299>You could use the code in this article in a VB script that controls a browser window and takes snapshots of it. You'd need to write the VB code to make the browser navigate to a URL which your JavaScript code inside the browser would recognize and load up the correct map. Then after waiting for some suitable interval, your VB code would take a screen shot and save it to a file or stitch it with other adjacent map segments as it captures them. Definitely a kludge, but it's one idea. :-) On Sat, Nov 27, 2010 at 1:22 PM, Aaron Kreider <[email protected]>wrote: > I want to print medium to high resolution maps that I've made with the > Google Maps API. My understanding is that I can do this if I use the > OpenStreetMap as my base layer, with my own content on top of it (kml > files, custom tiles, markers, etc). > > Does the Google Maps API have a width/height limit of around 1000 > pixels by 1000 pixels? After this limit it just shows a single > colored background. (Note: I googled this topic and didn't get any > relevant hits). > > If so, what is the best way to create a high resolution map? Is there > a way of automating it so I don't have to copy and paste 10-100 > images? > > I have a dual monitor - so I could get a screenshot that is closer to > 1000 pixels by 2000 pixels. > > I could: > -grab screenshots and copy and paste > -rewrite my code to work entirely on OpenStreetMap (I really don't > want to do this, because it seems like unnecessary duplication of > work) > -create multiple google maps that would display in divs next to each > other, or in different browser tabs > -create some kind of javascript/php code to automate this? > > I want to start off doing 8.5x11, but eventually be able to do 20 x 30 > inches. At 300 pixels/inch that would be 6000x9000 pixels (54 copy > and pastes). I want to create multiple maps, so this would be a ton > of copying and pasting. > > > I should probably be doing this in a regular GIS program (ArcGis or > QuantumGis), but most of my data is in MySQL - not in a GIS friendly > format. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
