<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;
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.