public class PlotSynergyConversion
extends com.supermap.data.InternalHandleDisposable
该类中提供了标绘对象与字符串间的转换。
限定符和类型 | 方法和说明 |
---|---|
String |
conversionGeoToXml2D(GeoGraphicObject graphicObject,
Layer layer)
二维单个标号保存成字符串
|
String |
conversionGeoToXml3D(GeoGraphicObject graphicObject,
Layer3D layer)
三维单个标号保存成字符串
|
String |
conversionLayerSelectionToXml2D(Layer layer)
二维图层选中的标号保存成字符串。
|
String |
conversionLayerSelectionToXml3D(Layer3D layer)
三维图层选中的标号保存成字符串。
|
String |
conversionLayersToXml2D(Layer[] layers)
二维多个图层中的标号保存成字符串
|
String |
conversionLayersToXml3D(Layer3D[] layers)
三维多个图层中的标号保存成字符串
|
String |
conversionLayerToXml2D(Layer layer)
二维图层中的标号保存成字符串
|
String |
conversionLayerToXml3D(Layer3D layer)
三维图层中的标号保存成字符串
|
String |
conversionMapToXml(Map map)
二维地图中的标号保存成字符串
|
String |
conversionSceneToXml(Scene scene)
三维场景中的标号保存成字符串
|
void |
conversionXmlToGeometry2D(Map map,
String strPlotData)
字符串转二维地图中的标号
|
void |
conversionXmlToGeometry3D(Scene scene,
String strPlotData)
字符串转三维场景中的标号
|
void |
dispose()
释放对象
|
static PlotSynergyConversion |
getInstance()
获取标绘对象转换类 单例对象
|
public static PlotSynergyConversion getInstance()
public String conversionGeoToXml2D(GeoGraphicObject graphicObject, Layer layer)
graphicObject
- 标号对象layer
- 所在图层public String conversionGeoToXml3D(GeoGraphicObject graphicObject, Layer3D layer)
graphicObject
- 标号对象layer
- 所在图层public String conversionLayerSelectionToXml2D(Layer layer)
layer
- 图层public String conversionLayerSelectionToXml3D(Layer3D layer)
layer
- 图层public String conversionLayerToXml2D(Layer layer)
layer
- 图层public String conversionLayerToXml3D(Layer3D layer)
layer
- 图层public String conversionLayersToXml2D(Layer[] layers)
layers
- 图层数组public String conversionLayersToXml3D(Layer3D[] layers)
layers
- 图层数组public String conversionSceneToXml(Scene scene)
scene
- 场景public void conversionXmlToGeometry2D(Map map, String strPlotData)
map
- 地图strPlotData
- 结果字符串public void conversionXmlToGeometry3D(Scene scene, String strPlotData)
scene
- 场景strPlotData
- 结果字符串public void dispose()
Copyright © 2021–2024 SuperMap. All rights reserved.