<layer label="Renderer Example" type="feature" visible="true" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2"> <simplerenderer> <picturemarkersymbol url="assets/images/i_sun.png" width="30" height="30" angle="3"/> </simplerenderer> </layer>
Dan, You can setup a renderer for the layer in the main config.xml. Here is an example: <layer label="Renderer Example" type="feature" visible="true" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/2"> <simplerenderer> <picturemarkersymbol url="assets/images/i_sun.png" width="30" height="30" angle="3"/> </simplerenderer> </layer>
All,Version 3.1.5 - Feb 4, 2013* Fixed issue with turning on or off sublayers of a group.One important note if you have a group turned off and all of its sub layers turned off as well then the group will not be able to turn back on until at least on of the sublayers is turned on.
Hi Robert and others,I can't seem to get this service working in the TOC widget. Not sure if it's actually the service or something with my Flex Viewer? I am receiving a bunch of errors trying to load it in my operational layers.http://tm2-elb-1378978824.us-east-1.elb.amazonaws.com/arcgis/rest/services/LiveFeeds/NOAA_storm_reports/MapServerDan
<layer label="Test" type="dynamic" visible="false" url="http://tm2-elb-1378978824.us-east-1.elb.amazonaws.com/arcgis/rest/services/LiveFeeds/NOAA_storm_reports/MapServer"/>
Dan, I loads for me without errors in Version 3.1.5 of the TOC Widget... Which version are you using?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.