Select to view content in your preferred language

Feature Tooltip/Maptip for FlexViewer 2.2

2482
21
01-21-2011 09:28 AM
RobertScheitlin__GISP
MVP Emeritus
All,

   Here is a very simple widget for displaying a map tip on mouse over of a layer that is a Feature type operational or basemap layer. It REQUIRES a layer that is type="feature" to work.

http://www.arcgis.com/home/item.html?id=ce63f1bdd5e64068b9a4fadd2028e379
Tags (2)
0 Kudos
21 Replies
RobertScheitlin__GISP
MVP Emeritus
Brian,

   Hmm... I did not think about that when I created this widget. I will add that to the enhancement request list.
0 Kudos
JayHalligan
Occasional Contributor
There are a few things I have found about using the Maptips for a "dynamic" layer when "feature" is not working.  First off I can probably bet you are working with dynamic data from a SQL Server.  I have been frustrated with the fact that I could not change the data to "feature" without the data not showing, but found that if you change your type="dynamic" to type="feature" just add mode="snapshot" to the layer config file.  I am still having problems with speed with the maximum number of features returned from the server but I am getting closer. Let me know if this helped.

<layer label="Species" type="feature" visible="true" alpha="1" mode="snapshot"
             url="http://www.mapservices.ca/ArcGIS/rest/services/Prima/Prima_Operational/MapServer/5"/>
0 Kudos