ViewerContainer.getInstance().widgetManager.getWidget(id);
PopUpManager.centerPopUp(myfloatdg);
<symbols> <simplefillsymbol color="0x000000" alpha="0.0"> <outline color="0x000000" alpha="0.0" width="2"/> </simplefillsymbol> <!-- You can have one or the other, either simplemarkersymbol or picturemarkersymbol defined for your point results NOT BOTH. picturemarkersymbol will override simplemarkersymbol if you do not have it commented out. --> <!--<simplemarkersymbol style="square" size="12" color="0xff0000" alpha="0.0" xoffset="0" yoffset="0" angle="0"> <outline style="solid" color="0x000000" alpha="1" width="1"/> </simplemarkersymbol>--> <picturemarkersymbol url="assets/images/i_search2.png" height="30" width="30" xoffset="0" yoffset="0" /> <simplelinesymbol color="0xff0000" alpha="0.8" width="2"/> </symbols>
Also I found the code that would set the Grid results to display left aligned. I can adjust the width in the SearchWidgetFloatDG.mxml but don't see anything for the horizontal alignment.
Update this function: protected override function partAdded(partName:String, instance:Object):void { super.partAdded(partName, instance); if (instance == map) { var cssStyleDeclaration:CSSStyleDeclaration = styleManager.getStyleDeclaration("com.esri.ags.components.supportClasses.InfoWindow") cssStyleDeclaration.setStyle("backgroundColor", getStyle('contentBackgroundColor')); styleManager.setStyleDeclaration("com.esri.ags.components.supportClasses.InfoWindow", cssStyleDeclaration, true); //My Add map.addEventListener(MapEvent.LOAD, mapLoadComplete); //End My Add } }
<widget label="Search" left="100" top="50" preload="open" icon="assets/images/i_search.png" config="widgets/eSearch/SearchWidget.xml" url="widgets/eSearch/SearchWidget.swf"/>
<widget label="Enhanced Search" preload="open" icon="assets/images/i_search.png" config="widgets/eSearch/SearchWidget.xml" url="widgets/eSearch/SearchWidget.swf"/>
?search=Owner&slayer=0&exprnum=0&showdatagrid=true
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.