Hello everyone,I have another question about editors. I'd like to know if it's possible to have 2 editors, pointing on 2 different featureLayer in the same map.My current problem is the following : It seems I can only have one editor working at a time. For example, I click on a feature from the #1 featureLayer, the infoWindow related to it pops, everything is fine. Then I clicked on a feature from the #2 featureLayer, it does show the same infoWindow as the first one.Here's some code :
<!-- Onglet Info terrain -->
<mx:VBox width="100%" height="100%" verticalGap="4" horizontalAlign="center" horizontalScrollPolicy="off">
<mx:Label text="Ajouter un point pour l'info terrain" styleName="WidgetText" />
<!-- EDITOR INFO_TERRAIN -->
<mx:HDividedBox width="100%" height="100%" color="0x445336">
<esri:Editor id="editorInfoTerrain"
geometryService="{geometryService}"
map="{map}"
toolbarVisible="true"
featureLayers="{[Info_Terrain]}"
creationComplete="editorTerrain_creationCompleteHandler(event)"/>
</mx:HDividedBox>
<!-- EDITOR FICHE -->
<esri:Editor id="editorFiche"
geometryService="{geometryService}"
map="{map}"
visible="false"
updateGeometryEnabled="false"
featureLayers = "{[featureLayerFiche]}"
addEnabled = "false"
deleteEnabled = "false"
creationComplete="editorFiche_creationCompleteHandler(event)"/>
</mx:VBox>