Make sure that the baseURL to custom tiles images is updated...
var baseURL = 'images/';
baseURL += 'gall-peters_' + zoom + '_' + x + '_' + coord.y +
'.png';
return baseURL;
On Sep 7, 1:06 pm, neffk <[email protected]> wrote:
> I need to implement an alternative projection, and am starting from
> the Gall-Peters example [1] that is given in the Google Maps API V3
> under Custom Map Projection. When I cut/paste and try to get it to
> run locally, I get gray tiles for the alternative projection. But
> when I click the "Map" control, everything is fine. Interestingly,
> markers work fine and I don't see any errors on the Firefox error
> console.
>
> Just to be clear, I'm using the example, verbatim. No changes except
> that it's in /var/web/html/index.html.
>
> I suspect that this is a base URL issue, but couldn't find anything on
> the intertubes addressing it.
>
> 1.http://code.google.com/apis/maps/documentation/javascript/examples/ma...
--
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 [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-js-api-v3?hl=en.