| Package | com.esri.ags.layers |
| Class | public class DynamicMapServiceLayer |
| Inheritance | DynamicMapServiceLayer Layer mx.core.UIComponent |
| Subclasses | ArcGISDynamicMapServiceLayer, ArcGISImageServiceLayer, ArcIMSMapServiceLayer, GPResultImageLayer, WMSLayer |
| Method | Defined By | ||
|---|---|---|---|
Creates a new DynamicLayer object. | DynamicMapServiceLayer | ||
![]() | refresh():void
Causes the layer to redraw or reload its content. | Layer | |
| Method | Defined By | ||
|---|---|---|---|
![]() | addMapListeners():void
Adds listeners for ExtentEvent.EXTENT_CHANGE, ZoomEvent.ZOOM_START,
ZoomEvent.ZOOM_UPDATE and ZoomEvent.ZOOM_END. | Layer | |
![]() | extentChangeHandler(event:ExtentEvent):void
When an EXTENT_CHANGE event occurs, this calls invalidateLayer();
| Layer | |
![]() | hideHandler(event:FlexEvent):void
When the layer is hidden (visible is set to false), this calls removeMapListeners(). | Layer | |
![]() | invalidateLayer():void
Subclasses should call this whenever they would like to have updateLayer() called on them. | Layer | |
loadMapImage(loader:Loader):void
Subclasses must override this method. | DynamicMapServiceLayer | ||
![]() | removeAllChildren():void
Removes all the layers children. | Layer | |
![]() | removeMapListeners():void
Removes the four event listeners added by addMapListeners();
| Layer | |
![]() | setLoaded(value:Boolean):void
Subclasses must call this when they've loaded all their properties and are ready to load
their content. | Layer | |
![]() | showHandler(event:FlexEvent):void
When the layer is shown (visible is set to true), this calls addMapListeners() and invalidateLayer(). | Layer | |
![]() | toScreenX(mapX:Number):Number
Converts the x-coordinate of map point to a screen point. | Layer | |
![]() | toScreenY(mapY:Number):Number
Converts the y-coordinate of map point to a screen point. | Layer | |
![]() | updateLayer():void
Subclasses must override this method. | Layer | |
![]() | zoomEndHandler(event:ZoomEvent):void
Finishes the zoom animation. | Layer | |
![]() | zoomStartHandler(event:ZoomEvent):void
Prepares the zoom animation by taking a bitmap of the layer. | Layer | |
![]() | zoomUpdateHandler(event:ZoomEvent):void
Redraws the bitmap of the layer. | Layer | |
| DynamicMapServiceLayer | () | Constructor |
public function DynamicMapServiceLayer()Creates a new DynamicLayer object.
| loadMapImage | () | method |
protected function loadMapImage(loader:Loader):voidSubclasses must override this method. The subclass is responsible for calling the loader.load() method.
Parameters
loader:Loader — The loader instance to use.
|
See also