But this code is commented out!
---
function CustomGetTileUrl(a,b) {
if (b==14) { //if (b==14 && a.x>=8051 && a.x<=8056 &&
a.y>=5271 && a.y<= 5274)
return "tiles/mountain_"+a.x+"_"+a.y+"_"+(17-b)+".jpg"
} else {
return "blank.jpg";
}
}
---
And if it was executed, it just won't let you call
http://www.cavallabianca.it/googlemaps/tiles/mountain_0002_0003_3.jpg
You need to rewrite CustomGetTileUrl in order to change x and y
according to your filenames
For example, if a.x == 8053 and a.y == 5272 (true example that I get
when I load your page), you need to return
http://www.cavallabianca.it/googlemaps/tiles/mountain_0002_0003_3.jpg
(or another working tile)
Or you could also rename your filenames.
If you want to see whats happening when you load the page, install
firebug. The network view allows you to see what URL the browser is
trying to load.
Mathieu
On Jul 21, 4:10 pm, trez <[email protected]> wrote:
> No, because the tiles name are different.
> If you take a look, the control on:
>
> if (b==14 && a.x>=8051 && a.x<=8056 && a.y>=5271 && a.y<= 5274)
>
> infact the tiles name are different like
> this:http://www.cavallabianca.it/googlemaps/tiles/mountain_0002_0003_3.jpg
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---