Wasn't it Webmaster who wrote:
>http://runescape.siteguides.net/maps/images/ is a directory of all the
>tiles.
5. You're using API v2 zoom numbers on your images, but API v1 zoom
numbers in your code. You should therefore remove the code that
subtracts the zoom number from 17
var z = 17 - b;
6. The x and y values that you use for your tile images don't correspond
to the location where you have centred the map. For example, your zoom
11 image is called
http://runescape.siteguides.net/maps/images/11_97_80.jpg
but map.setCenter(new GLatLng(37.4419, -122.1419), 11) corresponds to
something like
http://runescape.siteguides.net/maps/images/11_329_793.jpg
So the tiles that have any imagery are outside the viewport.
Hint: First try getting your main code to work with a static image, by
replacing
return f;
with, say,
return
"http://runescape.siteguides.net/maps/images/21_99360_82464.jpg";
and only switch back to return f when you've got the overall program
flow working.
--
Mike Williams
http://econym.org.uk/gmap
--
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.