| Package | com.esri.ags.events |
| Class | public class WebMapEvent |
| Inheritance | WebMapEvent flash.events.Event |
| Since : | ArcGIS API for Flex 2.2 |
See also
| Property | Defined By | ||
|---|---|---|---|
| errors : Array
The errors returned by createMapByX() in WebMapUtil for layers that could not be loaded. | WebMapEvent | ||
| item : Object
The item metadata returned by getItem() and createMapByX() in WebMapUtil. | WebMapEvent | ||
| itemData : Object
The item data returned by getItem() and createMapByX() in WebMapUtil. | WebMapEvent | ||
| map : Map
The map returned by createMapByX() in WebMapUtil. | WebMapEvent | ||
| Method | Defined By | ||
|---|---|---|---|
WebMapEvent(type:String)
Creates a new WebMapEvent. | WebMapEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CREATE_MAP_BY_ID_COMPLETE : String = createMapByIdComplete [static]
Defines the value of the type property of an createMapByIdComplete event object. | WebMapEvent | ||
| CREATE_MAP_BY_ITEM_COMPLETE : String = createMapByItemComplete [static]
Defines the value of the type property of an createMapByItemComplete event object. | WebMapEvent | ||
| GET_ITEM_COMPLETE : String = getItemComplete [static]
Defines the value of the type property of an getItemComplete event object. | WebMapEvent | ||
| errors | property |
public var errors:ArrayThe errors returned by createMapByX() in WebMapUtil for layers that could not be loaded. An error String is created for each layer that could not be added to the map. The map itself still gets created but is missing the layers that caused errors.
| item | property |
public var item:ObjectThe item metadata returned by getItem() and createMapByX() in WebMapUtil. This includes the extent, title, etc.
| itemData | property |
public var itemData:ObjectThe item data returned by getItem() and createMapByX() in WebMapUtil. This includes the layer information.
| map | property |
public var map:MapThe map returned by createMapByX() in WebMapUtil.
| WebMapEvent | () | Constructor |
public function WebMapEvent(type:String)Creates a new WebMapEvent.
Parameterstype:String — The event type; indicates the action that triggered the event.
|
| CREATE_MAP_BY_ID_COMPLETE | Constant |
public static const CREATE_MAP_BY_ID_COMPLETE:String = createMapByIdComplete
Defines the value of the type property of an createMapByIdComplete event object.
| CREATE_MAP_BY_ITEM_COMPLETE | Constant |
public static const CREATE_MAP_BY_ITEM_COMPLETE:String = createMapByItemComplete
Defines the value of the type property of an createMapByItemComplete event object.
| GET_ITEM_COMPLETE | Constant |
public static const GET_ITEM_COMPLETE:String = getItemComplete
Defines the value of the type property of an getItemComplete event object.