|
|||||||||
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
public class 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()
|
Method Summary | |
---|---|
void |
centerAt(double x,
double y)
Centers the map. |
void |
doPan(long direction,
double step)
Deprecated. As of ArcIMS 4.0.1 Java Connector, 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. |
Vector |
getFormat()
Gets the WMSMap object's output format value. |
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. |
String |
getVersion()
Returns the WMSMap version. |
long |
getWidth()
Returns the WMSMap object's width value in pixels. |
boolean |
initMap(String url)
Initializes the WmsMap object. |
void |
setBackgroundcolor(String color)
Deprecated. As of ArcIMS 9.3 Java Connector, replaced by setBackgroundColor(java.lang.String) . |
void |
setBackgroundColor(String color)
Sets the WMSMap objects background color value 0xffffff format. |
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 |
setTransparent(boolean transparent)
Sets the WMSMap objects transparency. |
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 long getWidth()
setWidth(long)
public void setHeight(long height)
height
- the height value.getHeight()
public long getHeight()
setHeight(long)
public void setLayers(WmsLayers layers)
layers
- the WmsLayers value.getLayers()
public WmsLayers getLayers()
public void setFormat(Vector format)
format
- the format value.getFormat()
public Vector getFormat()
setFormat(java.util.Vector)
public void setBackgroundcolor(String color)
setBackgroundColor(java.lang.String)
.
color
- String value in 0xffffffgetBackgroundColor()
public void setBackgroundColor(String color)
color
- String value in 0xffffffpublic void setTransparent(boolean transparent)
transparent
- transparent valuepublic void setEnvelope(Envelope obj)
obj
- the new Envelope
object.public Envelope getEnvelope()
public void setDebug(boolean debug)
debug
- true or falsepublic String getServiceName()
public String getVersion()
public String getSRS()
public String getException()
public String getMapUrl()
public void centerAt(double x, double y)
x
- y
- public PointObject toMapPoint(double x, double y)
x
- the x coordinate.y
- the y coordinate.fromMapPoint(double, double)
public PointObject fromMapPoint(double x, double y)
x
- the x coordinate value.y
- the y coordinate value.toMapPoint(double, double)
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)
obj
- the new extent.public void doZoomToFullExtent()
doPan(long, double)
,
doZoom(long)
,
centerAt(double, double)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |