Hi Every body I am using darwTool , editTool , and templateinpector to build my Editor Component as my buisness needs , but I am facing a problem , I need to open the InfowWindow and when I draw a new Feature , just like Editor component does ,I.e. the attributeInspector should appear in infoWindow when draw a new feature , so user shouldn't click the newly created feature to has this done , I am using a query object and give it the geometry from EndDrawEvent , and then use this query object in my feature layer as the following :protected function draw_drawEndHandler(event:DrawEvent):void
{
for each (var layer:Layer in myMap.layers)
{
if (layer is FeatureLayer)
{
var l:FeatureLayer = layer as FeatureLayer
queryMapClick.geometry = event.graphic.geometry;
l.selectFeatures(queryMapClick, FeatureLayer.SELECTION_NEW);
}
}
}
the problem exactly in query object it throws Fault:4000 unable to perform Query .Please help , thanks