On Feb 16, 4:41 am, Philip <philip-goo...@gladstonefamily.net> wrote: > > However, the documentation on MapType is pretty limited. I need the > current projection (to convert tile coords back into latlng). This is > listed as a property of the MapType, but it certainly isn't being set.
V3 has a separate group: http://groups.google.com/group/google-maps-js-api-v3/topics -- Marcelo - http://maps.forum.nu -- > > Rats. I had hoped to get something working in double quick time..... > > Philip > > On Feb 15, 9:28 am, Marcelo <marcelo...@hotmail.com> wrote: > > > > > On Feb 15, 2:31 pm, Philip <philip-goo...@gladstonefamily.net> wrote: > > > > My site isn't that (although I used the idea). Mine > > > ishttp://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). > > > The twilight zone. (nice!) > > Still, I think you could achieve the same visual effect with > > GPolygons, perhaps two instead of one, being one for night and another > > for twilight, or with four GPolygons you could have each of the three > > twilight zones, (astronomical, nautical and civilian), and another one > > for night. > > If you use canvas, IE cannot show it. > > > The city lights are expensive, yes. > > > Other than that, in the API V3, with the MapType object, you write > > your own .getTile() > > method:http://code.google.com/apis/maps/documentation/v3/reference.html#MapType > > > Sample:http://maps.forum.nu/v3/gm_customTiles.html > > > -- > > Marcelo -http://maps.forum.nu > > -- > > > 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 <marcelo...@hotmail.com> 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 <marcelo...@hotmail.com> wrote: > > > > > > On Feb 15, 6:04 am, Philip <philip-goo...@gladstonefamily.net> 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 <ros...@culzean.clara.co.uk> 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 google-maps-...@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.