Select to view content in your preferred language

How do you add a map service?

4768
20
08-19-2010 08:03 AM
JoshuaCoates
Deactivated User
I am extremely new to ArcGIS Server as well as Flex Builder and am trying to see if someone can help me step by step on how to add a map service that I have created in flex builder. I have a map service and web app on ArcGIS Server where I am interning and the web app works great. However, I am trying to turn it up a notch and learn how to use Flex to make it look even better. The map (mxd/msd) is not a tiled (cached) map....so I am trying to figure out what steps I need to take in order to publish the service I currently have as a .NET into Flex?! The server type is ASP.NET and I have published the service from the MSD of my map. ..... I am not sure how to figure out what my Web application root and Web application URL are (for the project properties in Flex)? I assume that the web application URL is the URL where my web app is. I have very little knowledge of computer and mxml code, and little knowledge of technical computer terms but have been told that even I am capable of using Flex. I just want to get my service to run in Flex. Can someone walk me through this in "Layman's terms" please? All the tutorials and demos I have watched through ESRI and Adobe are completely over my head and I don't even know where or how to begin. Any help would be greatly appreciated!


Josh C.
Tags (2)
0 Kudos
20 Replies
DasaPaddock
Esri Regular Contributor
There's sample config files in the download.

You can put the visiblelayers attribute anywhere in the layer tag. The number should match the id in the services directory page at: http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer

e.g.

<operationallayers>
<layer label="Layer1" type="dynamic" visible="true" visiblelayers="1"
url="http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer"/>
<layer label="Layer2" type="dynamic" visible="true" visiblelayers="2"
url="http://publicgis/PublicGISserver/rest/services/Bartow_Floodplain/MapServer"/>
</operationallayers>
0 Kudos