void
|
changeStatus(OnStatusChangedListener.STATUS status)
Changes the STATUS of the layer and notifies the listener.
|
abstract
long
|
create()
|
Popup
|
createPopup(MapView mapView, int sublayerId, Graphic graphic)
Creates the popup.
|
void
|
finalize()
|
UserCredentials
|
getCredentials()
Gets a copy of the credentials attached to the Layer.
|
SpatialReference
|
getDefaultSpatialReference()
Gets the defaultSpatialReference of the Layer.
|
float
|
getDpi()
|
Polygon
|
getExtent()
Gets the current extent.
|
Envelope
|
getFullExtent()
Returns the full extent of the layer.
|
int
|
getHeight()
Gets the height of the Layer in screen units.
|
long
|
getID()
Return the Layer runtime ID which is a long integer.
|
Envelope
|
getInitialExtent()
Returns the initial extent of the layer.
|
double
|
getMaxScale()
Gets max scale.
|
double
|
getMinScale()
Gets min scale.
|
String
|
getName()
Gets the name of the layer.
|
float
|
getOpacity()
Gets the opacity of the Layer.
|
Layer
|
getParent()
Returns parent layer if the layer is in a group layer otherwise returning null.
|
ExecutorService
|
getPoolExecutor()
Returns the ThreadPoolExecutor based on the context.
|
ArcGISPopupInfo
|
getPopupInfo(int sublayerId)
Gets the PopupInfo associated with the sub-layer id.
|
Map<Integer, ArcGISPopupInfo>
|
getPopupInfos()
Gets the popup infos.
|
String
|
getQueryUrl(int subLayerId)
Gets the query url.
|
double
|
getResolution()
Gets the resolution of the Layer.
|
ExecutorService
|
getServiceExecutor()
Returns the ThreadPoolExecutor based on the context.
|
SpatialReference
|
getSpatialReference()
Gets the current spatial reference of the Layer.
|
String
|
getTitle()
Gets the title of the Layer.
|
String
|
getUrl()
Gets the URL of the map service associated with the layer.
|
int
|
getUrlHashCode()
A convenience method that returns the hash code of the map service URL.
|
String
|
getWebMapLayerID()
Gets the web map layer id.
|
int
|
getWidth()
Gets the width of the Layer in screen units.
|
abstract
void
|
initLayer()
Initializes the layer.
|
void
|
initializeMinMaxScale(double initalMinScale, double initalMaxScale)
honor the webmaplayer min/max scale first, if it is not override, then using service min/max if they are set.
|
boolean
|
isInitialized()
Gets the initialized of the Layer.
|
boolean
|
isRecycled()
Returns true or false if the Layer object has been recycled.
|
boolean
|
isShowLegend()
Returns true if legend of the layer will be shown up; by default it is true; The property is usually defined in the
web map, a operation layer legend could be on or off.
|
boolean
|
isVisible()
Gets the visibility of the Layer.
|
boolean
|
isWebMapBaselayer()
Returns true if the layer is used as base layer in a web map.
|
<T>
T
|
loadServiceInfo(Callable<T> task)
If the Layer is loaded as a WebMapLayer and the OnWebMapLoadListener is specified, the service information will be
loaded interactively.
|
synchronized
long
|
lock()
|
void
|
recycle()
Releases resources referenced by the Layer so that they can be recycled.
|
void
|
reinitializeLayer(UserCredentials usercredentials)
Re-initializes the layer with the given credentials.
|
void
|
setCredentials(UserCredentials credentials)
Sets the credentials of the Layer.
|
void
|
setDefaultSpatialReference(SpatialReference defaultSpatialReference)
Sets the defaultSpatialReference of the Layer.
|
void
|
setFullExtent(Envelope extent)
|
void
|
setInitialExtent(Envelope e)
Sets the initial extent of layer.
|
void
|
setMaxScale(double maxScale)
Sets max scale.
|
void
|
setMinScale(double minScale)
Sets min scale.
|
void
|
setName(String name)
Sets the layer name.
|
void
|
setOnStatusChangedListener(OnStatusChangedListener onStatusChangedListener)
Sets the onStatusChangedListener.
|
void
|
setOpacity(float opacity)
Sets the opacity of the Layer.
|
void
|
setPopupInfos(Map<Integer, ArcGISPopupInfo> popUpInfos)
Sets the popup infos.
|
void
|
setQueryUrls(Map<Integer, String> queryUrls)
Sets the query urls.
|
void
|
setUrl(String url)
Sets the URL of the map service associated with the layer.
|
void
|
setVisible(boolean visible)
Sets the visibility of the Layer.
|
void
|
unlock(long handle)
|
void
|
updateSpatialReferenceStatus(int SRStatus)
The callback method is invoked when the layer is added to map.
|
boolean
|
verifyCredentials()
Returns true if the credentials is valid.
|