I have an app built in WAB that I want the mouse to trigger popups on hover. Been playing around with it a bit and trying to add code to MapManager.js in the publishMapEvent function
Tried using info window and mouse over but not luck.
Any ideas?
Joe,
I have a widget for that already.
https://community.esri.com/docs/DOC-13431-feature-layer-hover-widget-version-211-051219
Now I want to take that and make the popup an info window
Joe,
What is your understanding of the difference between a Popup and an InfoWindow?...
Or maybe ill clarify....Can the popup style be changed to something else?
This widget is designed to show the feature standard popup on hover (just like it would if you clicked on the feature). Not sure what you mean by change the style?
More like a tooltip style
For that you would have to take the widget as a starting point and have it show a dijit/TooltipDialog on mouse over instead of the standard esri Popup.
Thanks ill give it a shot.
I also have a map.on("click"... command and a info window that displays when a user clicks on the map. As these 2 commands will fight each other, how do I get the on click to beat out your hover widget?
Add code in your onclick to close the tooltip.