I finally wrote my own MercatorProjection, but I suspect that the V3
code doesn't use it.

To see a demo of the resulting day/night shading on a map see:

http://pskreporter.info/grid/test.html

Note that the shading is calculated locally and is for the current
time (and auto-updates -- currently every 10 seconds for demo
purposes, but in real life, probably once per minute). Unfortunately,
it doesn't work in IE owing to the lack of a canvas object. The
explorer canvas project doesn't help as they don't support one of the
canvas methods that I need. Anyway, it works in a modern firefox and
chrome.

No image tiles were used!

Philip

On Feb 17, 8:02 pm, Philip <[email protected]> wrote:
> On Feb 16, 5:49 pm, Marcelo <[email protected]> wrote:
>
>
>
> > This example contains a MercatorProjection 
> > object:http://code.google.com/apis/maps/documentation/v3/examples/map-coordi...
>
> Unfortunately the example doesn't work as it ignores the zoom level.
> It also uses non-standard names for the methods, but that is easy to
> fix.
>
> In fact, now that I look at the definition of the MapCanvasProjection
> object, it is missing a method to get/set the current zoom level.
>
> I'm getting a good understanding of why this is a labs project!
>
> Philip

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

Reply via email to