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>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.