<fx:Declarations> <s:DropShadowFilter id="dropShadow"/> <s:SolidColorStroke id="pathStroke" pixelHinting="true"/> <s:SolidColor id="pathFill"/> </fx:Declarations> <s:states> <s:State name="withHeader"/> <s:State name="withoutHeader"/> <s:State name="open"/> <s:State name="closed"/> </s:states> <s:transitions> <s:Transition fromState="*" toState="open"> <s:Scale target="{hostComponent}" duration="200" scaleXFrom="0.1" scaleXTo="1" scaleYFrom="0.1" scaleYTo="1"/> </s:Transition> <s:Transition fromState="open" toState="closed"> <s:Scale target="{containerGroup}" duration="200" scaleXFrom="1" scaleXTo="0.1" scaleYFrom="1" scaleYTo="0.1"/> </s:Transition> </s:transitions> <s:Path id="path"/> <s:VGroup id="containerGroup" gap="{getStyle('verticalGap')}" minHeight="0" minWidth="0" paddingBottom="{getStyle('paddingBottom')}" paddingLeft="15" paddingRight="15" paddingTop="10"> <s:HGroup id="headerGroup" width="100%" includeInLayout.withoutHeader="false" minWidth="0" verticalAlign="middle" visible.withoutHeader="false"> <esri:InfoWindowLabel id="labelText"/> <s:Rect width="100%" height="10" minWidth="0"/> <esri:InfoWindowCloseButton id="closeButton"/> </s:HGroup> <s:Group id="contentGroup" width="100%" height="100%" minHeight="0" minWidth="0"/> </s:VGroup> </s:Skin>
esri|InfoWindow { upperRightRadius: 5; upperLeftRadius: 0; lowerLeftRadius: 5; lowerRightRadius: 0; verticalGap: 6; paddingTop: 6; } esri|InfoWindowCloseButton { /*my custom close button Skin*/ skinClass:ClassReference("com.esri.viewer.skins.WidgetCloseButtonSkin"); }
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.