I'm using the example available at Amcharts with custom html markers here: http://www.amcharts.com/demos/custom-html-elements-map-markers/ (there's a jsfiddle available when clicking on edit)
I'm having trouble adding tooltips (apparently called balloonText at amCharts), I tried adding a balloonText attribute to imagesSettings this way:
imagesSettings: {
rollOverColor: "#089282",
rollOverScale: 3,
selectedScale: 3,
selectedColor: "#089282",
color: "#13564e",
balloonText: "[[title]]"
},
I also tried setting the balloonText of each image in the same way.
In a fit of desperation I also tried bootstrap's data-toggle tooltip on the markers, to no avail.
Maybe I'm missing something simple? Is there any way to do this?
Thanks in advance!
That demo is somewhat a hack. The pulsating markers are not part of the amMap, but rather HTML elements placed above the map area. As they are not map objects, they do not display map-related tooltips.
However, since they're regular HTML elements, you can easily attach Bootstrap (or any other plugin) tooltips to them. I.e.:
Here's the same demo with Bootstrap tooltips enabled: