Got it.. Thanks John.. I was working on it when you hit it probably. Anyway, I think I've got it solved. Kesuke's PHP code was looking for tiles named "zoom_x_y.png". My tms is a bit different, zoom and x are folders and y is the tile png.
Changing the php $filename to: $filename = "/var/www/merge/tiles/" . intval($_GET['z']) . "/" .intval($_GET['x']) . "/" . intval($_GET['y']) . ".png"; and then in the map code changing the return statement to: return "/merge/tiles.php?z=" + zoom + "/&x=" + coord.x + "/&y=" + (Math.pow(2,zoom)-coord.y-1) + ".png"; seems to work for me. I have a google base layer, tiles and no 404s. Kesuke, I can't thank you enough for that post. That problem was bugging me for months! Thanks much! On Jul 30, 4:43 pm, John Coryat <cor...@gmail.com> wrote: > Your page is generating errors: > Uncaught ReferenceError: initialize is not defined > > I suggesting looking at the JavaScript console. > > -John Coryat -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.