Guys, In the code search for the addEventListener that adds the mouseOverGraphic function and comment them out.
idResult.forceScale = identForceScale; identifyArrayCollection.addItem(idResult); //iGra.addEventListener(MouseEvent.ROLL_OVER, mouseOverGraphic); iGra.attributes = idResult; graphicsLayer.add(iGra);
Martyn, So you are saying that when you hover or the identified graphic that it still pops up an info window...?
private function mouseOverRecord(event:Event):void { var idResult:IdResult = ItemRenderer(event.target).data as IdResult; clearTimeout(hitimer); if (map.extent.containsXY(idResult.point.x, idResult.point.y)) { //hitimer = setTimeout(showHighlight, 300, [idResult]); }else{ hideInfoWindow(); } }
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.