Flex Viewer 3.0
Running on ArcGIS 10
Hi everyone, sorry for this newbie question but I'm completely stumped - it's obviously something fundamental that I'm forgetting or not grasping.
I have a Parcel polygon layer in SDE. In my MXD I have created a successful relate and created a service in ArcServer. When creating the service I specified a map service as well as a feature service.
In my flex viewer, no matter what I try I can't get the layer to display unless I set the Type = "dynamic".
When I set it to feature it just doesn't draw.
What am I doing wrong?
This works:
<layer label="Parcels" type="dynamic" visible="true" alpha="1.0"
popupconfig="popups/PopUp_Fires.xml"
url="http://maps/ArcGIS/rest/services/BaseData/Parcels/MapServer"/>
But this doesn't:
<layer label="Parcels" type="feature" visible="true" alpha="1.0"
popupconfig="popups/PopUp_Fires.xml"
url="http://maps/ArcGIS/rest/services/BaseData/Parcels/ MapServer/0"/>
**It appears the layer is added to the viewer, I can see it in the "More..." list, and I can 'Zoom to' it. however the polygons just aren't there??
I'm trying to get the feature type to work so that I can use Robert's InfoRelate widget....
Thank you for any guidance....I've been working on this for 5-6 hours now but can't see what I'm doing wrong.
Steve
Asta,
Your basemap layer is dynamic so the Map doesn't have any LODs. tiled layers will only display if the map's scale matches a cached scale in the layer. You can force the map to only go to compatible scales by adding LODs in the config.
See lods example at:
http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Main_configuration_file/01m3000...
You can copy the resolution and scale values from the tile info at:
http://gis.lmi.is/arcgis/rest/services/kort_isn93/ornefni_kort_isn93/MapServer