Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.