[OpenLayers-Users] Fwd: graphicTitle tooltip in Chrome and Opera browsers

John Pulles john.pulles at geodan.nl
Tue Mar 30 05:43:55 EDT 2010


Hi list,

I'm displaying wfs layers with an externalGraphic and a graphicTitle.
The tooltip is displaying in IE and Firefox but not in the Opera and 
Chrome browsers.
According to
http://www.w3.org/Graphics/SVG/IG/wiki/Accessibility_Activity#Implementation_Status_.28Current_Behavior.2C_Bugs.29 

a browser should display a tooltip in svg on:

* hover over a link and the xlink:title attribute contents are displayed 
in a tooltip
* hover over an element and the svg:title element contents are displayed 
in a tooltip

Adding a title child node to the svg image element, solves the display 
of tooltips in Opera.
This leaves me with two questions:
1) should I provide a patch to SVG.js to get the title child node into 
OpenLayers, and
2) how can a tooltip be displayed in Chrome?

Thanks,
John






More information about the Users mailing list