<esri:ArcGISDynamicMapServiceLayer ID="City_Intersections" DisableClientCaching="False" Url="http://gismaps.pagnet.org/ArcGIS/rest/services/ARRA_033011_2_plot/MapServer" VisibleLayers="1" />
<esri:FeatureLayer Url="http://gismaps.pagnet.org/ArcGIS/rest/services/ARRA_033011_2_plot/MapServer/1" />
http://gismaps.pagnet.org/ArcGIS/rest/services/ARRA/FeatureServer/4 returns Invalid URL
<esri:FeatureLayer ID="County_Intersections" DisableClientCaching="False" Url="http://gismaps.pagnet.org/ArcGIS/rest/services/ARRA_033011_2_plot/FeatureServer/4" OutFields="*" />
The shape fields containing the geometry are hidden by your services, hence the rest end points are not returning any geometry.You have to update your service (check the visible fields with ArcGIS desktop).Note : ArcGIS server 10 may be more strict than previous version concerning this point.
<esri:FeatureLayer ID="County_Intersections" DisableClientCaching="False" Url="http://gismaps.pagnet.org/ArcGIS/rest/services/ARRA/FeatureServer/4" OutFields="*" />
The featurelayer link needs too look like thisUrl="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/FeatureServer/1" Not this wayUrl="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/1"
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.