public class MapImageLayer extends Layer
Modifier and Type | Class and Description |
---|---|
static class |
MapImageLayer.Options |
Modifier and Type | Method and Description |
---|---|
void |
addMapImage(MapImage mapImage)
Add an image to the map.
|
static boolean |
assertLoaded()
Check that the esri.layers.MapImageLayer has been loaded
|
static MapImageLayer |
create()
Creates a new MapImageLayer object
|
static MapImageLayer |
create(MapImageLayer.Options options)
Creates a new MapImageLayer object
|
com.google.gwt.core.client.JsArray<MapImage> |
getImages()
Get an array of MapImage objects that define the images in the MapImageLayer.
|
boolean |
getImageVisibility(MapImage mapImage)
Get the current visibility of the input MapImage.
|
void |
removeAllImages()
Remove all images from the layer.
|
void |
removeImage(MapImage mapImage)
Remove the specified image from the layer.
|
void |
setImageVisibility(MapImage mapImage,
boolean isVisible)
Set the visibility for the image.
|
addErrorHandler, addLoadHandler, addOpacityChangeHandler, addUpdateEndHandler, addUpdateHandler, addUpdateStartHandler, addVisibilityChangeHandler, getCredential, getId, getOpacity, getUrl, hide, isloaded, isVisible, setOpacity, setVisibility, show
public static MapImageLayer create()
public static MapImageLayer create(MapImageLayer.Options options)
options
- - Optional parameters.public static boolean assertLoaded()
public final void addMapImage(MapImage mapImage)
mapImage
- - A MapImage object that defines the image to add to the map.public final com.google.gwt.core.client.JsArray<MapImage> getImages()
public final boolean getImageVisibility(MapImage mapImage)
mapImage
- - The MapImage object.public final void removeAllImages()
public final void removeImage(MapImage mapImage)
mapImage
- - The MapImage object that defines the image to remove.public final void setImageVisibility(MapImage mapImage, boolean isVisible)
mapImage
- - The mapImage object.isVisible
- - Set the visibility of the MapImage.