No you don't have to bother with anything as involved as creating a
tileserver or using a database.

http://martinpearman.co.uk/bin/capture_image.txt

Try the link again - i've made some changes which should simplify the
process for you.
I would comment the code a bit more but it's been that long since i
originally wrote it that the logic behind it is lost!!

Anyway the new script wants to be called with these queries present in
the url:

width - the width of the desired image in pixels
height - the height of the desired image in pixels
swx - the x pixel point of the south west corner of the map
ney - the y pixel point of the north east corner of the map
zoom - the zoom level at which to create the image

So you might call:

http://mydomain.com/capture_image.php?width=640&height=480&swx=6459&ney=3901&zoom=5

If you look at:
http://martinpearman.co.uk/bin/panorama_camera.txt

You'll see a javascript function i used to get the various parameters
needed to call capture_image.php and how i set the src of an image
element to display the requested image.

Hopefully that's enough info to get it working for you.
If not keep this thread updated and i'll help again if required.

Martin.



On 8 Nov, 04:47, antonius <[EMAIL PROTECTED]> wrote:
> >http://martinpearman.co.uk/bin/capture_image.txt
>
> > It should be easy to follow i hope!!
>
> > If you have any questions then post again in this thread or email me
> > and i'll do my best to help.
>
> i don't use a tileserver, so the tile informations (name, tileBounds,
> captures,ect) don't store in database.
> i only put all the tiles in a folder and to retrieve it, i use :
>      CustomGetTileUrl=function(a,b){
>           return "http://mydomain.com/tiles/"+a.x+"_"+a.y+"_"+(17-b)
> +".jpg";
>       }
> do i have to create a tileserver (save the tile information in
> database)??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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