Ok, I see it now, somehow I overlooked the DIV. So now instead of adding a 'img' tag to this div, I add a 'span' and set the innerText to what I want. It indeed seems to do what I want. Thanks for pointing it out, it made me look again and that solved the problem!
On Sep 27, 1:33 am, mljm <[email protected]> wrote: > I looked at this before, and the only thing I can see is how to add an > overlay image, but I don't have images, I have text that is created > dynamically, > that needs to be distributed at specific coordinates on a map, always > in a screen related fontsize irrespective of the zoom level of the > map, but at the correct coordinates. > Perhaps I 'm missing something but I simply don't understand how to > change the sample code to use text instead of images. > > So far I've not seen a single example that writes text on a map (other > than in a bubble), so my guess is that it is not possible.... > > On Sep 20, 8:23 am, Luke Mahé <[email protected]> wrote: > > > > > Have a look at Custom Overlays > > -http://code.google.com/apis/maps/documentation/javascript/overlays.ht... > > you can do everything you have requested with them :) > > > -- LukeOn Mon, Sep 20, 2010 at 5:19 PM, mljm <[email protected]> wrote: > > > Is it possible to write plain text onto a map at specific coordinates, > > > while controling font, colour, text size, etc ? > > > Thanks > > > > michael > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google Maps JavaScript API v3" group. > > > To post to this group, send email to > > > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-maps-js-api-v3%2b[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted > > >text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
