var fieldInspector10:FieldInspector = new FieldInspector(); fieldInspector10.featureLayer = featureLayerFiche; fieldInspector10.fieldName = "OBJECTID"; fieldInspector10.label="Label : "; fieldInspector10.enabled=true; fieldInspector10.toolTip="Tooltip text"; var attributeInspector: AttributeInspector = editorFiche.attributeInspector; attributeInspector.featureLayers = [featureLayerFiche] attributeInspector.fieldInspectors = [fieldInspector10] attributeInspector.formItemsOrder = "fieldInspector"; attributeInspector.singleToMultilineThreshold = 100; attributeInspector.deleteButtonVisible = false; attributeInspector.infoWindowLabel = "Some text for the title";
I never use the method you use there.I don't know if it will be easier to use this method(The method I prefer)1. Create a new custom component2. Assign it to myMap.infoWindow.content3. myMap.infoWindow.show(mapPoint)
Not sure what exactly your question is.If the title is your question, yes it is possible.You can have a custom infowindow that is completely different to the default one.Just assign it to the inforwindow.
<esri:infoWindowContent> <s:BorderContainer backgroundColor="0xFFFFFF"> <esri:AttributeInspector id="attrInsp" deleteFeature="attrInsp_deleteFeatureHandler(event)" updateFeature="attrInsp_updateFeatureHandler(event)"/> more code... </s:BorderContainer> </esri:infoWindowContent>
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.