If you look here:

http://panoramas.110mb.com/

Click a marker and a panorama appears in a window under the map, now
click the Capture button.
A PHP script is called with details of the current view, the script
stitches the necessary tiles together and returns a single image to
the browser.

If you'd like a look at the PHP source then let me know.

Martin.


On Nov 29, 8:04 pm, Aaron Kreider <[email protected]> wrote:
> I'm not sure how that could work. PHP doesn't have any tiles to see as
> they come from javascript requests.
>
> Do you mean first do a lot of javascript calls to the api (eg creating
> each piece of the map), save the images with javascript, and then use
> php to stitch it together.
>
> Stitching is the easier part. I'm not sure about the rest.
>
> I don't think javascript will save files to your harddrive for
> security reasons.
>
> Maybe I can get php to trigger a screen shot?  If so, I don't know
> how.
>
> On Nov 29, 12:46 am, Martin <[email protected]> wrote:
>
> > I'd say the easiest method would be to use PHP and GD library to get
> > and then stitch your tiles together and output a JPG or PNG image that
> > you can print.
>
> > Martin.
>
> > On Nov 27, 9: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].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to