I have an identify tool that listens for the onClick event of the map like sohandle = dojo.connect(mapController.map, 'onClick', function (evt) {...}
When i run a query against the map i am highlighting the returned features by adding the geometries as graphics to a map like so var layerId = "query-graphics-layer" var queryGraphicsLayer = new esri.layers.GraphicsLayer({id: layerId}); map.addLayer(queryGraphicsLayer); //Add the graphics to the query-graphics-layer $.each(queryFeatureSet.features, function( index, feature) { queryGraphicsLayer.add(new esri.Graphic(feature.geometry, feature.symbol)); });
The problem is that when i go to click on the feature to get the identify, the onClick event of the map does not fire. I tried to use queryGraphicsLayer.disableMouseEvents();
but that didn't work. It appears that the graphics in the graphics layer is taking the click event and that it is not getting propagated to the map which seems to be by designhttp://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp_start.htm#jshelp/...However, i would like to know if there is some way to allow that event to propagate up to the map or possibly a way to propagate it myself?