Hello,
I am with arcgis server 10.0 and flex 2.5, quite a new user.
I have a mapservice that works well, and was able to add the identify widget to get information on the objects. I would like to replace this by popups : instead of using Identify, I would like to be able to click on the map (on a line for instance) and get a window that displays a field of my layer.
I am not able to make the popup work, nothing happens with what I have now, despite all the topics I checked on that subject, I cannot understand the process of the congif for popup. Do I have to specify the code of the layer I want to use information from? This is not clear for me.
If you ever have time to take a look, here are the configs I have:
config file :
<layer label="Mapservice" type="dynamic" visible="true" alpha="0.7" url="http://server/arcgis/rest/services/Mapservice/MapServer"
popupconfig="popups/PopUp_eligibilite.xml"/>
popup config file:
<configuration>
<title>{Résultat}</title>
<fields>
<field name="RESULTAT" alias="Résultat" visible="true"/>
</fields>
<medias>
<media type="image"
title="Resultat"
imagesource="assets/images/i_bookmark.png"/>
</medias>
<showattachments>true</showattachments>
</configuration>
Hope somebody will be able to help! Meanwhile I keep looking,
thanks
Anne
I am with arcgis server 10.0 and flex 2.5, quite a new user.
I have a mapservice that works well, and was able to add the identify widget to get information on the objects. I would like to replace this by popups : instead of using Identify, I would like to be able to click on the map (on a line for instance) and get a window that displays a field of my layer.
I am not able to make the popup work, nothing happens with what I have now, despite all the topics I checked on that subject, I cannot understand the process of the congif for popup. Do I have to specify the code of the layer I want to use information from? This is not clear for me.
If you ever have time to take a look, here are the configs I have:
config file :
<layer label="Mapservice" type="dynamic" visible="true" alpha="0.7" url="http://server/arcgis/rest/services/Mapservice/MapServer"
popupconfig="popups/PopUp_eligibilite.xml"/>
popup config file:
<configuration>
<title>{Résultat}</title>
<fields>
<field name="RESULTAT" alias="Résultat" visible="true"/>
</fields>
<medias>
<media type="image"
title="Resultat"
imagesource="assets/images/i_bookmark.png"/>
</medias>
<showattachments>true</showattachments>
</configuration>
Hope somebody will be able to help! Meanwhile I keep looking,
thanks
Anne