qtip en marcadores de google

I am trying to add qtip tooltips to my google markers, so when the marker is clicked it opens the tooltip.

I can get it working on other elements because I can select their ID like so:


But google markers are different. I tried adding an idea to their object like so:

marker.metadata = {id: 'marker1'};

o bien:

marker.set("id", 'marker1');

Pero no parece funcionar.

I was using InfoBubble before which worked fine, but due to the map being small I need the tooltip to not be restricted to the map itself.

preguntado el 09 de marzo de 12 a las 15:03

0 Respuestas

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.