<operationallayers> <!--<layer label="Kawasan Hutan" type="dynamic" visible="true" alpha="1.0" url="http://webgis.dephut.go.id/ArcGIS/rest/services/KH/MapServer/0"/>--> <layer label="Kawasan Hutan" type="dynamic" visible="true" alpha="1.0" url="http://webgis.dephut.go.id/ArcGIS/rest/services/KH/MapServer"/> <layer label="Pelepasan Kawasan Hutan" type="tiled" visible="true" alpha="1.0" url="http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> <layer label="Pinjam Pakai Kawasan Hutan" type="tiled" visible="true" alpha="1.0" url="http://webgis.dephut.go.id/ArcGIS/rest/services/PPKH/MapServer"/> <layer label="Pemanfaatan Kawasan Hutan" type="tiled" visible="true" alpha="1.0" url="http://webgis.dephut.go.id/ArcGIS/rest/services/PKH/MapServer"/> <layer label="Penutupan Lahan" type="tiled" visible="true" alpha="1.0" url="http://webgis.dephut.go.id/ArcGIS/rest/services/PL/MapServer"/> </operationallayers>
Thanks, but this did not seem to work. I have tried to use other layers in the service as well as change from feature to dynamic (also changing the url as appropriate). the layer shows up in the TOC but no data is shown. I am sure it very basic, but something that I have not yet been able to find. I can not move forward until this is solved, so any suggestion or advice will be appreciated.James
James, You need to add the mode and useamf attributes to your layer element<layer label="Parcels" type="feature" visible="false" alpha="1.0" mode="snapshot" useamf="false" url="http://gis.richmondnc.com/ArcGIS/rest/services/RichmondMXD/RichmondAddTest/MapServer/5"> </layer>
<layer label="Parcels" type="feature" visible="false" alpha="1.0" mode="snapshot" useamf="false" url="http://gis.richmondnc.com/ArcGIS/rest/services/RichmondMXD/RichmondAddTest/MapServer/5"> </layer>
That worked! I could have swore I tried that before but I've tried so many different things maybe I didn't. Good news is, it works now.
I am haveing the same problem I am running ArcServer 10, ArcGIS 10, Flexviewer 2.3.1, Adobe Flash Builder 4. I downloadeed and did everything the Getting started instructions say to do for the uncompiled version of the viewer I got all my widgets to work but when I add an operational layer it shows up in the more tab of the map switcher but does not display here is my code:<operationallayers> <layer label="Parcels" type="dynamic" visible="false" alpha="1.0" url="http://gisserver/HHGIS/rest/services/HH_GIS/MapServer/46"/> </operationallayers>After I add code to the flex project I save and build the project then go to run index.mxml and it comes up in a IE window and everything displays except my parcel layer. Any sugestions
Here's my current layer that I'm trying to get setup.<layer label="CN Jurisdiction" type="dynamic" visible="true"url="http://geodata.cherokee.org/ArcGIS/rest/services/Maps/CNBoundary/MapServer/0"/>If you look at the service I can get it to show up as a JavaScript or ArcGIS.com map but can't seem to get it to show up in my flexviewer (http://geodata.cherokee.org/flexviewer). I'm not a programmer but I think I've got it entered right, just not sure where to go from here. Any ideas?
<layer label="Parcels" type="dynamic" visible="false" alpha="0.5" url="http://arcims/ArcGIS/services/testparcels/MapServer"> </layer>
<layer ...> <sublayer id="x" popupconfig="popups/example.xml" /> </layer>
<layer label="Parcels" type="dynamic" visible="false" url = "http://arcims/ArcGIS/services/testparcels/MapServer"/> popupconfig="popups/Popup_Parcels.xml"/>
<layer label="Parcels" type="dynamic" visible="true" url="http://arcims/ArcGIS/services/testparcels/MapServer"> <sublayer id="x" popupconfig="popups/Popup_Parcels.xml"/> </layer>
</layer> <layer label="Parcels" type="feature" visible="false" alpha="1.0" url="http://gis.richmondnc.com/ArcGIS/rest/services/RichmondMXD/RichmondAddTest/MapServer/5"/> </layer>
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.