Hi,

I tried changing the latitude and longitude to +/-90 and +/- 180 but I still
have the same problem.
I also set the map centering of the map using the following code:
      var custommap = new GMapType(tilelayers, new GMercatorProjection(9),
"Old OS");
      map.addMapType(custommap);
      map.setCenter(new GLatLng(0,0),6, custommap);

I am thinking that the problem lies within my tile naming or referencing
using the CustomGetTileUrl function.

I took this function from Mike Williams tutorial on his website. I took the
same syntax just to test it in the beginning. I changed the function inside
so that it maps correctly to my jpg files.

CustomGetTileUrl=function(a,b){
          //return "aaa/"+(17-b) +"_" + a.x+"_"+a.y+".jpg"
   return "aaa/"+ b +"_" + a.x+"_"+a.y+".jpg";
 //return "aaa/6_31551_50901.jpg";
      }

As you see some code is commented as I made different trials that didnt
work. The only thing that is weird and suscpicious for me is that when we
call that function, we do not pass it parameters, whereas in its declaration
it takes a and b as parameters. Is there something I am missing or not doing
properly?

You can find all my tile images on www.linkkings.com/hkbica/aaa

Thanks for any help.
hk

--~--~---------~--~----~------------~-------~--~----~
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