Ashamed to ask... adding label to inner html of bubble?
I've got a map working pretty much the way I want it to - drawing data
from the external XML and all of that... but it is missing the bold
label at the top when you crack the bubbles open.
It seems (from my limited JS experience) that I'm supposed to add a bit
of HTML to here - maybe wrapping the name or label attribute in h3 tags
or something? But I can't make it work... syntax ignorance perhaps?
var html = markers[i].getAttribute("html");
var label = markers[i].getAttribute("label");
// create the marker
var marker = createMarker(point,label,html);
Here's the page:
http://www.thejollycorks.com/maps/bars.htm
Here's the XML:
http://www.thejollycorks.com/maps/bardata.xml
Any help would be appreciated.
Thanks!
0 Comments:
Yorum Gönder
<< Home