My site isn't that (although I used the idea). Mine is http://pskreporter.info/pskmap.html
The difference is that I do a gray slope between day and night (the level of gray depends on the height of the sun above/below the horizon). Also, my client side getTileUrl figures out which tiles are entirely day or night and uses a single 'day' or 'night' image for those locations. I also can do the same city lights as daylightmap.com, but those tiles really burn up the bandwidth (well, only the tiles which have the day/ night terminator running through them). The all-day tiles are still clear, and the all-night tiles are static (although each one is different). If I could use a CANVAS in a tile layer, then I suspect that I could copy the citylight image tile into the canvas first, and then do the day/night processing. Since the citylight tiles are static and can have a long expires set, this won't use nearly as much bandwidth. Philip On Feb 15, 5:31 am, Marcelo <[email protected]> wrote: > Is this your site?http://www.daylightmap.com/index.php > That's some strange (nice) tiles! :-) > > -- > Marcelo -http://maps.forum.nu > -- > > On Feb 15, 11:27 am, Marcelo <[email protected]> wrote: > > > On Feb 15, 6:04 am, Philip <[email protected]> wrote: > > > > What I want to be able to do is to render a day/night overlay. I can > > > do this with tiles but the tiles change every five minutes which means > > > that the server uses a lot of bandwidth. My goal is to render the day/ > > > night terminator layer entirely on the client side. > > > I think I'd just use a GPolygon for that, not tiles, but I haven't > > given it too much thought. There may be some issues to handle with > > wrapping at low zoom levels. > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > > I suspect that > > > today's PCs are fast enough to make this not too bad. Of course a good > > > Javascript implementation will help! > > > > Anyway, the GGroundOverlay allows you to place an image onto the > > > ground. I want to be able to place tiled canvas objects ..... > > > > Philip > > > > On Feb 14, 8:07 pm, Rossko <[email protected]> wrote: > > > > > > I'm looking for a class just like GTileLayer that allows me to place > > > > > arbitrary objects instead of image tiles. > > > > > What doesn't GGroundOverlay do that you > > > > need?http://code.google.com/apis/maps/documentation/overlays.html#Ground_O... > > -- 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.
