On 19/03/2009, Mike Williams <[email protected]> wrote:
>
>  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.


Google provide a facitily via the Chart API to make this type of text
as an image...

http://groups.google.com/group/google-chart-api/web/chart-type-for-text-with-outline



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


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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