<layer label="Cadastre" type="dynamic" visible="true" url="http://41e2821/arcgis/rest/services/612637000_GEHU/Cadastre_MRWA_MGA50_201011/MapServer/"/>
<configuration> <identifylayeroption>visible</identifylayeroption> <identifytolerance>5</identifytolerance> <defaultzoomscale>5000</defaultzoomscale> <keepidentifyactive>true</keepidentifyactive> <labels> <zoom2message>Click to Zoom to Point</zoom2message> <identifylabel>Identify</identifylabel> <resultslabel>Results</resultslabel> <descriptionlabel>Use the identify tool to identify features on the map:</descriptionlabel> <pointlabel>Identify</pointlabel> <clearlabel>Clear</clearlabel> <loadinglabel>Loading...</loadinglabel> <selectionlabel>Features Identified:</selectionlabel> </labels> <layers onlythese="true"> <layer> <name>Cadastre</name> <fields>LEGAL_AREA</fields> <linkfield></linkfield> <linkprefix></linkprefix> <linksuffix></linksuffix> <iconfield></iconfield> <iconprefix></iconprefix> <iconsuffix></iconsuffix> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer>
Jim, The first thing I would do is either rename your layer or try another layer for this testing the "Aggravated Assault / Battery" forward slash is likely going to cause an issue in the code.
// 17/11/2010 #1 erwan.caradec // remove duplicate results for group of layers //line 293 identifyParams.layerIds = dynamicLayer.visibleLayers.source; identifyParams.layerIds = new Array(); for (var j:Number = 0; j < dynamicLayer.visibleLayers.source.length; j++) { if (!dynamicLayer.layerInfos[dynamicLayer.visibleLayers.source].subLayerIds) { identifyParams.layerIds.push(dynamicLayer.visibleLayers.source); } } // end of modification
linkicon = identLinkIconPre + value + identLinkIconSuffix;
Robert - I'm trying to incorporate the identify the widget into a viewer that also has the GeoPortal Search widget. The geoportal widget allows us to add WMS layers to the map. When I try to do an idnetify on one of the WMS layers that has been added, I get an error "Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032:Stream Error. URL: http://[wmsserverurl]/identify"]My guess is that wms layers are not supported by the identify widget. Any suggestions?Thanks,Barb Patterson
Andrea and Justin, Do either of you have multiple map services in your map that have a layer that is identically named?
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.