private function mouseOverRecord(event:MouseEvent):void { var infoData:Object = event.currentTarget.infoData; clearTimeout(hitimer); ////hitimer = setTimeout(showHighlight, 800, [infoData]); graphicsLayer.clear(); infoData.IrfGra.symbol = symbol; infoData.IrfGra.infoWindowRenderer = myInfoWindowRenderer; graphicsLayer.add(infoData.IrfGra); }
var myRenderer:ClassFactory = new ClassFactory(SearchWidgetDgridIRF); myRenderer.properties = { myTitle : gra.attributes.title }; InfoSym.infoRenderer = myRenderer; var callout:Graphic = new Graphic(gra.attributes.point, infoSymbol1); callout.symbol = InfoSym; callout.attributes = gra.attributes; graphicsLayer.add(callout);
<?xml version="1.0" encoding="utf-8"?> <mx:TitleWindow xmlns:mx= "http://www.adobe.com/2006/mxml" layout= "absolute" width= "300" height= "200" showCloseButton= "true" title= "Search Results" close= "closeMe()" styleName= "SearchDGCanvas" creationComplete= "init()" verticalScrollPolicy="auto" enabled="true"> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <![CDATA[ [Bindable] public var myTitle:String; private function closeMe() :void { } private function init() :void { } ]]> </mx:Script> <mx:VBox label="{myTitle}" backgroundColor="0xEEEEEE"> <mx:Label text="OWNER: {myTitle}"/> </mx:VBox> </mx:VBox> </mx:TitleWindow>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.