Mike, thanks for the tip, I tried using ELabel, it's a great extension to add html to maps, however the html text isn't as readable as I needed. Barry, this facility via Chart API is exactly what I needed to output text.
I may use both ELabel and Chart API to put text on map. Thanks so much On Mar 19, 9:46 am, Barry Hunter <[email protected]> wrote: > 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-te... > > > > > > > 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 -~----------~----~----~----~------~----~------~--~---
