Well... if you don't have a server side script to return the tiles,
the url is wrong!

The url you adopted assume that a server side script extract the url
parameter (x=, y=, z=) and
return the tile image.

Probably you simply access the file, thus you need to append the tile
file name to the url.

Try this:

        var f = "http://map.fathomthat.org/test/"+a.x+"_"+a.y+"_"; + z +
".jpg";

instead of:

        var f = "http://map.fathomthat.org/test/?x="+a.x+"&y="+a.y
+"&zoom="+z;


On 4 Dic, 17:08, mtweldon <[email protected]> wrote:
> I am working on creating a custom map for a game so people can click /
> drag and add points, but thats later on.
>
> I'm working on actually getting the map / copyright to work correctly,
> but after reading quite a few tutorials, I don't know how to determine
> the coordinates of my map / custom tiles.
>
> http://map.fathomthat.org- page
>
> http://map.fathomthat.org/test- tiles
>
> are all of my tiles go 12_0_0.jpg to 17_9_9.jpg
>
> So far I have been successful in getting nothing but the UI to pop up,
> any advice is welcome as I'm completely new to the API.
>
> Have been using the following for 
> tutorials:http://econym.org.uk/gmap/http://code.google.com/apis/maps/documentation/introduction.html#Load...http://mapki.com/wiki/Automatic_Tile_Cutter#Updated_Script

--

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