java.lang.Object | ||
↳ | com.esri.android.map.Layer | |
↳ | com.esri.android.map.DynamicLayer |
Known Direct Subclasses |
DynamicLayer is the base class for all map services that contain dynamic layers and can be added to a map. You would
work with one of the sub-classes of this abstract class. (for example,
ArcGISDynamicMapServiceLayer
- used to represent map services that contain dynamic
layers).
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected SpatialReference[] | supportedSRs |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.android.map.Layer
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DynamicLayer(String url)
Constructs a dynamic layer from the service URL.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
cancelPendingTasks()
Cancel pending tasks.
| ||||||||||
float |
getBrightness()
Gets the brightness of the DynamicLayer.
| ||||||||||
float |
getContrast()
Gets the contrast of the DynamicLayer.
| ||||||||||
float |
getGamma()
Gets the gamma of the DynamicLayer.
| ||||||||||
boolean |
isPopupAllowGeometryUpdate(Graphic graphic)
Returns true if the popup allow the geometry to be updated, potentially based on some information carried by the
Graphic provided. | ||||||||||
boolean |
isPopupDeletable(Graphic graphic)
Returns true if the popup created is deletable, potentially based on some information carried by the
Graphic provided. | ||||||||||
boolean |
isPopupEditable(Graphic graphic)
Returns true if the popup created is editable, potentially based on some information carried by the
Graphic
provided. | ||||||||||
void |
recycle()
Releases resources referenced by the Layer so that they can be recycled.
| ||||||||||
void |
refresh()
Invoke this method to fetch the map image from the associated map service and update the MapView.
| ||||||||||
void |
setBrightness(float brightness)
Sets the brightness of the DynamicLayer.
| ||||||||||
void |
setContrast(float contrast)
Sets the contrast of the DynamicLayer.
| ||||||||||
void |
setGamma(float gamma)
Sets the gamma of the DynamicLayer.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | create() | ||||||||||
double |
getCenterMeridan()
return central meridan value
| ||||||||||
abstract byte[] | getImage(int width, int height, Envelope extent) | ||||||||||
void | getImageAsych(int w, int h, Envelope extent, CallbackListener<byte[]> imagecallback) | ||||||||||
void |
initLayer()
Initializes the layer.
| ||||||||||
boolean |
isCrossDateline()
is cross date line.
| ||||||||||
boolean |
isWrapAroundEnabled()
is wrap around enabled.
| ||||||||||
void | requestImage(int width, int height, double minx, double miny, double maxx, double maxy) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.android.map.Layer
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.esri.android.map.popup.PopupLayer
|
Constructs a dynamic layer from the service URL.
url | a service URL |
---|
Cancel pending tasks.
Gets the brightness of the DynamicLayer.
Gets the contrast of the DynamicLayer.
Gets the gamma of the DynamicLayer.
Returns true if the popup allow the geometry to be updated, potentially based on some information carried by the
Graphic
provided.
Returns true if the popup created is deletable, potentially based on some information carried by the
Graphic
provided.
Returns true if the popup created is editable, potentially based on some information carried by the Graphic
provided.
Releases resources referenced by the Layer so that they can be recycled.
Invoke this method to fetch the map image from the associated map service and update the MapView.
Sets the brightness of the DynamicLayer.
brightness | The brightness to set. |
---|
Sets the contrast of the DynamicLayer.
contrast | The contrast to set. |
---|
Sets the gamma of the DynamicLayer.
gamma | The gamma to set. |
---|
return central meridan value
Initializes the layer. The implementation should submit the OnStatusChangedListener.STATUS
event accordingly.
is cross date line.
is wrap around enabled.