[OpenLayers-Dev] [OpenLayers-Users] Fwd: graphicTitle tooltip
in Chrome and Opera browsers
zac.spitzer at gmail.com
Tue Mar 30 08:39:04 EDT 2010
for chrome, aka webkit, I have filed a bug about this
unless the approach in the ol code is different for webkit?
On 30 March 2010 23:13, Marc Jansen <jansen at terrestris.de> wrote:
> Hi John,
> (I cc'ed my answer to the dev-list, as I guess it belongs there)
> I would suggest opening an enhancement-ticket and attaching the patch
> (together with a test) as it seems to be at least a partial solution. I
> cannot tell you what to do, to get the tooltip working in Chrome, though.
> If you decide against opening a ticket/providing a patch, please send
> the code in question to the dev-list. Thanks anyway.
> John Pulles wrote:
>> 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
>> 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?
>> Users mailing list
>> Users at openlayers.org
> Dev mailing list
> Dev at openlayers.org
Solution Architect / Director
Ennoble Consultancy Australia
+61 405 847 168
More information about the Dev