When the mouse pointer hovers over a PictureMarkerSymbol, I need a tooltip to pop-up, then disappear onmouseout.
If that's not possible, then how might I have the marker's esri.symbol.TextSymbol show on mouseover and hide on mouseout?
|
When the mouse pointer hovers over a PictureMarkerSymbol, I need a tooltip to pop-up, then disappear onmouseout. If that's not possible, then how might I have the marker's esri.symbol.TextSymbol show on mouseover and hide on mouseout? |
|||
|
|
|
You need to use the onMouseOver event of the layer that contains your picuture marker symbol: API Docs: http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#GraphicsLayer/onMouseOver Examples from ESRI: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/fl_hover These should get you started. |
|||
|
|