Greetings!
I am creating a custom app that will use the Google Maps API.
Each tile is going to be a user generated image that I want to stitch
back together, via filename, into a custom tile layer. I will be
alright with having just 1 zoom level but would like to have 3 levels,
if I can figure the rest of this out.
I have the map loading a single custom tile just fine. My problem
comes from my misunderstanding of how getTileUrl() works.
Right now I am using a custom tile url function...
CustomGetTileUrl = function(a, b) {
//return "images/tiles/1x/tile_1_" + a.x + "_" + a.y + ".gif";
return '/images/442abcc6-600b-4b0a-b15c-d01cbc9c8465.jpg'; // <-
this is my static image that works
}
When I use the dynamic path for the images, the API replaces them with
the static, transparent images from Google. Otherwise, it would be
obvious what the naming convention should be.
So, how can I name my files so that the API will see them as tiles?
Please help, I feel like I'm SOOO close to getting this working :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---