<esri:FeatureLayer id="citizen" outFields="" url="http://..."/>
var featLayer:FeatureLayer = new FeatureLayer("http://...", null, null); featLayer.outFields = ["*"];
var attr:AttributeInspector = new AttributeInspector(); attr.featureLayers = [featLayer]; var g:Graphic = new Graphic(); var attributes:Object = {}; g.attributes = attributes; attr.showFeature(g, featLayer); attr.visible = true; attr.updateEnabled = true; map.infoWindow.visible = true; map.infoWindow.content = attr;
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.