[mapguide-users] Re: Get the Cursor Position and show tooltip in the toolbar

Jackie Ng jumpinjackie at gmail.com
Thu Oct 27 05:25:06 EDT 2011


The Fusion Map widget wraps an OpenLayers map (accessible through the oMapOL
property of the widget)

So you can register an OpenLayers click handler like this:

http://openlayers.org/dev/examples/click.html

To show a tooltip on a toolbar, you could have a stub InvokeScript widget
that's docked to the toolbar. At runtime, when you have the tooltip, get the
widget by its id and set the label of it's UI object to the tooltip text
(the property of the widget should be uiObj)

- Jackie


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Get-the-Cursor-Position-and-show-tooltip-in-the-toolbar-tp6928041p6935607.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list