|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.map.Layer com.esri.map.DynamicLayer
public abstract class DynamicLayer
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.map.Layer |
---|
Layer.LayerStatus |
Field Summary | |
---|---|
protected SpatialReference |
_nativeCreateSpatialRef
|
Fields inherited from class com.esri.map.Layer |
---|
_credentials, _progress, _resolutionList, serviceInfo |
Constructor Summary | |
---|---|
DynamicLayer()
|
|
DynamicLayer(String url,
UserCredentials credentials)
|
Method Summary | |
---|---|
protected void |
createNativeLayer()
|
protected double |
getCenterMeridian()
return central meridian value |
SpatialReference |
getDefaultSpatialReference()
Gets the defaultSpatialReference of the Layer. |
double |
getResolution()
Gets the resolution of the Layer. |
protected void |
initializeNativeLayer()
|
protected boolean |
isCrossesDateline()
is cross date line. |
void |
refresh()
Force the map to redraw the layer. |
protected void |
requestImage(int width,
int height,
double minx,
double miny,
double maxx,
double maxy)
|
void |
setUrl(String url)
Set the URL for the layer. |
protected void |
startlisteningToMapEvents(JMap map)
Starts this layer listening to map events. |
protected void |
stopListeningToMapEvents(JMap map)
Stops this layer listening to map events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SpatialReference _nativeCreateSpatialRef
Constructor Detail |
---|
public DynamicLayer(String url, UserCredentials credentials)
public DynamicLayer()
Method Detail |
---|
public double getResolution()
Layer
getResolution
in class Layer
public SpatialReference getDefaultSpatialReference()
Layer
getDefaultSpatialReference
in class Layer
public void setUrl(String url)
setUrl
in class Layer
url
- The URL.protected void startlisteningToMapEvents(JMap map)
MapEventListener
to the map.
map
- The map to listen to.protected void stopListeningToMapEvents(JMap map)
MapEventListener
in the map.
map
- The map to stop listening to.public void refresh()
protected void requestImage(int width, int height, double minx, double miny, double maxx, double maxy)
protected void createNativeLayer()
createNativeLayer
in class Layer
protected void initializeNativeLayer()
initializeNativeLayer
in class Layer
protected boolean isCrossesDateline()
protected double getCenterMeridian()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |