|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWMSMapLayer
Provides access to members that control the WMS map layer.
A WMSMapLayer is a container of WMS layers. There are two ways to create a WMSMapLayer:
1. Add all the vailable WMS layers using EngineWMSMapLayerFactory.
2. Add selected or individual WMS layers to the WMSMapLayer through these steps:
• Set the URL in WMSConnectionName
• Use IDataLayer to connect the WMSMapLayer (now empty) to the WMSConnectionName (which now has the URL for connecting to the WMS service).
• Get the WMSServiceDescription from IWMSMapLayer (WMSMapLayer is now connected to the service and has access to the service the capabilities, this includes a list of WMS layer descriptions)
• Iterate through the WMSLayerDescriptions to find the WMS layer description or layer descriptions that you are interested in
• Use the CreateWMSLayer method to create a WMSLayer inside the WMSMapLayer
Method Summary | |
---|---|
void |
clearDrawCache()
Clears the cache of images downloaded from the WMS server for drawing. |
IColor |
getBackgroundColor()
Background color for the WMS Map Layer image. |
boolean |
isServerSupportsTransparency()
Indicates whether transparency is suppported by the server. |
boolean |
isTransparentBackground()
Indicates whether to make the background of the WMS Map Layer image transparent. |
void |
setBackgroundColor(IColor ppColor)
Background color for the WMS Map Layer image. |
void |
setTransparentBackground(boolean transparent)
Indicates whether to make the background of the WMS Map Layer image transparent. |
void |
setWMSServiceDescriptionByRef(IWMSServiceDescription rhs1)
Associated WMSServiceDescription. |
Method Detail |
---|
void clearDrawCache() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IColor getBackgroundColor() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setBackgroundColor(IColor ppColor) throws IOException, AutomationException
ppColor
- A reference to a com.esri.arcgis.display.IColor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isTransparentBackground() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTransparentBackground(boolean transparent) throws IOException, AutomationException
transparent
- The transparent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isServerSupportsTransparency() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setWMSServiceDescriptionByRef(IWMSServiceDescription rhs1) throws IOException, AutomationException
rhs1
- A reference to a com.esri.arcgis.gisclient.IWMSServiceDescription (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |