|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.wmsmap.WmsMap
Connects to a OGC WMS service and represents the wmsmap to be displayed.
Field Summary | |
static long |
EAST
|
static long |
NORTH
|
static long |
NORTHEAST
|
static long |
NORTHWEST
|
static long |
SOUTH
|
static long |
SOUTHEAST
|
static long |
SOUTHWEST
|
static long |
WEST
|
Constructor Summary | |
WmsMap()
Constructs an instance of a WmsMap object. |
Method Summary | |
void |
centerAt(double x,
double y)
Centers the map. |
void |
doPan(long direction,
double step)
Deprecated. As of ArcIMS 4.0.1, replaced by doPan(long,long) |
void |
doPan(long direction,
long step)
Pans the specified map service by recalculating the WMSMap objects envelope object. |
void |
doZoom(long scaleFactor)
Zooms to a new location of the specific map service by recalculating the WMSMap objects extent. |
void |
doZoomToExtent(Envelope obj)
Resets the Map objects extent by reassigning the extent to a new Envelope object. |
void |
doZoomToFullExtent()
Zooms to the Map objects initial extent envelope. |
PointObject |
fromMapPoint(double x,
double y)
Converts from database coordinate to pixel coordinate values. |
Envelope |
getEnvelope()
Returns the WMSMap object's associated Envelope object. |
String |
getException()
Returns the associated exceptions. |
String |
getFormat()
Returns the WMSMap output format value (Example: JPEG). |
long |
getHeight()
Returns the WMSMap object's height value in pixels. |
WmsLayers |
getLayers()
Returns the WMSMap object's associated Layers collection object. |
String |
getMapUrl()
Returns the Map URL for the image. |
String |
getServiceName()
Returns the WMSMap serviceName. |
String |
getSRS()
Returns the WMSMap SRS. |
boolean |
getVersion()
Returns the WMSMap version. |
long |
getWidth()
Returns the WMSMap object's width value in pixels. |
boolean |
initMap(String url)
Initializes the WmsMap object. |
static void |
main(String[] args)
|
void |
setDebug(boolean debug)
Sets the debug property. |
void |
setEnvelope(Envelope obj)
Sets the WMSMap Envelope object. |
void |
setFormat(Vector format)
Sets the WMSMap object's output format value. |
void |
setHeight(long height)
Sets the WMSMap object's height value in pixels. |
void |
setLayers(WmsLayers layers)
Sets WMSMap object's layer. |
void |
setServiceName(String serviceName)
Sets the WMSMap serviceName. |
void |
setSRS(String srs)
Sets the WMSMap SRS. |
void |
setVersion(boolean version)
Sets the WMSMap version. |
void |
setWidth(long width)
Sets the WMSMap object's width value in pixels. |
PointObject |
toMapPoint(double x,
double y)
Converts from pixel coordinate values to database coordinate values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long NORTH
public static final long NORTHEAST
public static final long EAST
public static final long SOUTHEAST
public static final long SOUTH
public static final long SOUTHWEST
public static final long WEST
public static final long NORTHWEST
Constructor Detail |
public WmsMap()
Method Detail |
public boolean initMap(String url)
public void setWidth(long width)
width
- the width value.getWidth()
public void setHeight(long height)
height
- the height value.getHeight()
public long getWidth()
setWidth(long)
public long getHeight()
setHeight(long)
public void setLayers(WmsLayers layers)
layers
- the WmsLayers value.#getLayer
public WmsLayers getLayers()
public void setFormat(Vector format)
format
- the format value.getFormat()
public String getFormat()
setFormat(java.util.Vector)
public void centerAt(double x, double y)
x
- y
- public PointObject toMapPoint(double x, double y)
x
- the x coordinate.y
- the y coordinate.#getToMapPointX
,
#getToMapPointY
,
fromMapPoint(double, double)
public PointObject fromMapPoint(double x, double y)
x
- the x coordinate value.y
- the y coordinate value.public void doZoom(long scaleFactor)
scaleFactor
- the scale factor value.doPan(long, double)
,
centerAt(double, double)
public void doPan(long direction, double step)
doPan(long,long)
direction
- the directional constant value.step
- the amount of directional shift.doZoom(long)
,
centerAt(double, double)
public void doPan(long direction, long step)
direction
- the directional constant value.step
- the amount of directional shift.doZoom(long)
,
centerAt(double, double)
public void doZoomToExtent(Envelope obj)
public void doZoomToFullExtent()
doPan(long, double)
,
doZoom(long)
,
centerAt(double, double)
public void setEnvelope(Envelope obj)
public Envelope getEnvelope()
public void setServiceName(String serviceName)
serviceName
- public String getServiceName()
public void setSRS(String srs)
srs
- public String getSRS()
public void setVersion(boolean version)
public boolean getVersion()
public String getMapUrl()
public void setDebug(boolean debug)
debug
- true or falsepublic String getException()
public static void main(String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |