| Package | com.esri.ags.controls |
| Class | public class InfoWindow |
| Inheritance | InfoWindow InfoContainer mx.core.Container |
infoWindowRenderer property.
| Table 1: Examples of infoWindows | ||
|---|---|---|
Standard InfoWindow (see sample) |
Styled InfoWindow (see Concepts) |
Styled InfoWindow (see sample) |
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | anchorX : Number
The anchor X location in pixels.
| InfoContainer | |
![]() | anchorY : Number
The anchor Y location in pixels.
| InfoContainer | |
| closeButtonVisible : Boolean
Whether to display the close button n the upper right corner.
| InfoWindow | ||
| content : UIComponent
The info window content.
| InfoWindow | ||
| labelVisible : Boolean
Whether to display the label on the upper left corner.
| InfoWindow | ||
| Method | Defined by | ||
|---|---|---|---|
|
hide():void
Hide the info window.
| InfoWindow | ||
|
Shows the info window at a specific location.
| InfoWindow | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Fires when an InfoWindow is closed. | InfoWindow | |||
| closeButtonVisible | property |
closeButtonVisible:Boolean [read-write]Whether to display the close button n the upper right corner. The default value is true.
Implementation public function get closeButtonVisible():Boolean
public function set closeButtonVisible(value:Boolean):void
| content | property |
content:UIComponent [read-write]
The info window content.
Developers can hide the header label and close button using the labelVisible and
closeButtonVisible properties. A component in the content can hide the info window by
making content dispatch a CLOSE event.
This property can be used as the source for data binding.
Implementation public function get content():UIComponent
public function set content(value:UIComponent):void
| labelVisible | property |
labelVisible:Boolean [read-write]Whether to display the label on the upper left corner. The default value is true.
Implementation public function get labelVisible():Boolean
public function set labelVisible(value:Boolean):void
| hide | () | method |
public function hide():void
Hide the info window.
This is will also dispatch a Event.CLOSE event.
| show | () | method |
public function show(mapPoint:MapPoint):voidShows the info window at a specific location.
ParametersmapPoint:MapPoint — The location of the info window in map coordinates.
|
See also
| close | event |