The problem is that you don't know beforehand whether your text is going 
to be in front of a light or dark background, so whether you choose 
black or white text it might end up being hard to see against a 
similarly coloured background.

What Google do is add an outline to the text in the opposite colour. 
Black letters with a white outline for the street tiles. White letters 
with a black outline for hybrid tiles. Unfortunately, there's no 
facility within HTML or Javascript for displaying text like that.

You could display text against a HTML background colour:
http://econym.org.uk/gmap/example_elabel.htm

Or you could create outlined text as a PNG or GIF image.

There's a Flash utility called Sifr that might be able to do it, but 
many people run with Flash disabled, and Sifr is said to be difficult to 
use.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


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

Reply via email to