Select to view content in your preferred language

Loading Map Service is blank

1300
13
08-02-2011 06:40 AM
AndyWhitley
Emerging Contributor
When I add my own map service to my flex project, the map is always blank.  I can preview my map using the java script link within rest services and preview the map in arccatalog.  Any suggestions?  I am using arcgisonline for my other default base maps.
Tags (2)
0 Kudos
13 Replies
PatrickWard1
Deactivated User
Andy,

If you visit the following link do you see the cross-domain file?
http://intrfce/crossdomain.xml


Also, just to make sure we are on the same page. In the Web application are you turning the service on. Your code is set to visible=false which would force you to turn the layer on in the Web application before it would be visible. Try the following.
<layer label="AVL" type="dynamic" visible="true"
url="http://intrfce/arcgis/rest/services/Unit_AVL/MapServer"/>
0 Kudos
AndyWhitley
Emerging Contributor
main config initial extent looks like this:

initialextent="-8781000 4013000 -8636000 4069900"
0 Kudos
AndyWhitley
Emerging Contributor
Robert, yes I do use it in the code with the same url, it opens with a blank map and my points do not show.

Andy
0 Kudos
AndyWhitley
Emerging Contributor
Patrick setting the view to true shows the points!  Thanks everyone for the help.  When I set it to false and then clicked the button that was created within the viewer (top right) it would never show up when I toggled it on?

Andy
0 Kudos