Solved! Go to Solution.
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";
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>
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 component
2. Assign it to myMap.infoWindow.content
3. myMap.infoWindow.show(mapPoint)
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 component
2. Assign it to myMap.infoWindow.content
3. myMap.infoWindow.show(mapPoint)
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";