Jake,one of the reason for features not getting displayed on the map is that features only when they are within visible scale range.(between min and max scale.)
Nathan,The first thing I would try is set the alpha to 1 to see if the feature are showing on the map properly.
<layer label="Species feature" type="feature" visible="true" url="http://www.mapservices.ca/ArcGIS/rest/services/Prima/Prima_Operational/MapServer/5"/>
<layer label="Species dynamic" type="dynamic" visible="true" url="http://www.mapservices.ca/ArcGIS/rest/services/Prima/Prima_Operational/MapServer/5"/>
<layer label="Operational" type="dynamic" visible="true"url="http://www.mapservices.ca/ArcGIS/rest/services/Prima/Prima_Operational/MapServer"/>
private function setTooltip(event:Event):void { var fl:FeatureLayer = event.currentTarget as FeatureLayer; for(var l:int=0; l<configFeatureLayers.length; l++) { if(fl.id == configFeatureLayers.layer) { var flds:String = configFeatureLayers.fields; var fldArr:Array = flds.split(","); for each (var gra:Graphic in fl.graphicProvider) { var toolTip:String = ""; for (var f:int=0; f<fldArr.length; f++) { toolTip += gra.attributes[fldArr] ? String(gra.attributes[fldArr]) + "\n" : ""; } if (toolTip != "") gra.toolTip = toolTip; } } } }
<widget left="0" top="0" config="widgets/FeatureTooltip/FeatureTooltipWidget.xml" url="widgets/FeatureTooltip/FeatureTooltipWidget.swf"/>
<layer label="Species" type="feature" visible="true" alpha="0" url="http://www.mapservices.ca/ArcGIS/rest/services/Prima/Prima_Operational/MapServer/5"/>
Layer: Single Stem Species (ID: 5) Display Field: INGENIEROType: Feature LayerGeometry Type: esriGeometryPointDescription: Definition Expression: Copyright Text: Min. Scale: 60000Max. Scale: 0Default Visibility: TrueExtent: XMin: -77.3732140788757YMin: 6.27068000300208XMax: -77.3520981540437YMax: 6.31735493446076Spatial Reference: 4170Has Attachments: FalseHTML Popup Type: esriServerHTMLPopupTypeAsHTMLText
<?xml version="1.0" ?> <configuration> <layers> <layer> <name>Species</name> <fields>INGENIERO,ESPECIE,OTRO_OTH,DAP_DBH,longitud</fields> </layer> </layers> </configuration>
<operationallayers> <layer label="Louisville Zoning" type="feature" visible="true" alpha="0" mode="onDemand" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_LandRecords_Louisville/MapServer/2"/> <layer label="Louisville Zoning" type="dynamic" visible="true" alpha="0.4" visiblelayers="2" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_LandRecords_Louisville/MapServer"/> <layer label="Louisville Police Facilities" type="feature" visible="true" alpha="1" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_PublicSafety_Louisville/MapServer/3"/> </operationallayers>
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.