public class UGCPlotProvider extends java.lang.Object implements PlotProvider, ProviderContextAware, Disposable
SuperMap dynamic mapping service provider.
UGCPlotProvider provides SuperMap dynamic mapping of related services, and encapsulates with SuperMap dynamic mapping related to GIS functions.
Constructor and Description |
---|
UGCPlotProvider()
Default constructor
|
UGCPlotProvider(UGCPlotProviderSetting providerSetting)
Build the UGCPlotProvider object with SuperMap data service provider configuration information.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
deleteSMLFile(java.lang.String smlFileName)
According to the situation map file description to delete the specified situation map file information.
|
void |
dispose()
Release object.
|
GeoGraphicObject |
getGraphicObject(GetGraphicObjectParameter getGOParameters)
Obtains graphic object information according to LibID, Code, point string and other related parameters.
|
byte[] |
getSMLFileBinary(java.lang.String smlFileName)
Gets the contents of the binary form of the specified situation map file.
|
java.lang.String |
getSMLFileContent(java.lang.String smlFileName)
According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.
|
java.util.List<SMLInfo> |
getSMLInfos(int start, int count)
Gets the list of situation map information.
|
SymbolLib |
getSymbolLib(int libID)
Obtains the label library information according to the label library ID.
|
int[] |
getSymbolLibIDs()
Returns all label library IDs supported by server.
|
boolean |
saveAsSMLFile(java.lang.String content, java.lang.String smlFileName, java.lang.Boolean isCover)
Stores the situation map file information
|
void |
setProviderContext(ProviderContext context)
Sets the context of the SuperMap dynamic plotting service provider.
|
public UGCPlotProvider()
public UGCPlotProvider(UGCPlotProviderSetting providerSetting)
Build the UGCPlotProvider object with SuperMap data service provider configuration information.
providerSetting
- SuperMap data service provider configuration information.public int[] getSymbolLibIDs()
Returns all label library IDs supported by server.
getSymbolLibIDs
in interface PlotProvider
public SymbolLib getSymbolLib(int libID)
Obtains the label library information according to the label library ID.
getSymbolLib
in interface PlotProvider
libID
- Label library ID.public GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters)
Obtains graphic object information according to LibID, Code, point string and other related parameters.
getGraphicObject
in interface PlotProvider
getGOParameters
- Related parameters.public boolean saveAsSMLFile(java.lang.String content, java.lang.String smlFileName, java.lang.Boolean isCover)
Stores the situation map file information
saveAsSMLFile
in interface PlotProvider
content
- Situation chart content.smlFileName
- Situation map physical file name.isCover
- Whether or not to cover the existing situation map.public java.lang.String getSMLFileContent(java.lang.String smlFileName)
According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.
getSMLFileContent
in interface PlotProvider
smlFileName
- the situation map physical file name.public java.lang.Boolean deleteSMLFile(java.lang.String smlFileName)
According to the situation map file description to delete the specified situation map file information.
deleteSMLFile
in interface PlotProvider
smlFileName
- the situation map physical file name.public byte[] getSMLFileBinary(java.lang.String smlFileName)
Gets the contents of the binary form of the specified situation map file.
getSMLFileBinary
in interface PlotProvider
smlFileName
- the situation map physical file name.public java.util.List<SMLInfo> getSMLInfos(int start, int count)
Gets the list of situation map information.
getSMLInfos
in interface PlotProvider
start
- Returns the starting index of the situation map file list.count
- Returns the number of the situation map file list.public void setProviderContext(ProviderContext context)
Sets the context of the SuperMap dynamic plotting service provider.
Dynamic plotting dynamic plotting service provider.setProviderContext
in interface ProviderContextAware
context
- service provider contextpublic void dispose()
Release object.
dispose
in interface Disposable