com.supermap.services.providers
Class MapStatusManager
- java.lang.Object
-
- com.supermap.services.providers.MapStatusManager
-
public class MapStatusManager extends java.lang.ObjectThe map status manager. It's used to maintain the consistency of the map status of iServer (represented by MapParameter) and the map status of UGO (represented by Map object).
-
-
Field Summary
Fields Modifier and Type Field and Description protected MapParameteriServerStatusprotected java.lang.StringmapNameprotected MapugoStatus
-
Constructor Summary
Constructors Modifier Constructor and Description protectedMapStatusManager()MapStatusManager(com.supermap.mapping.Map ugoMapStatus, MapParameter iServerMapStatus)Constructs a new MapStatusManager instance by using UGO map status and iServer map status.
-
Method Summary
Methods Modifier and Type Method and Description protected static com.supermap.mapping.LayeraddHeatmapLayer(UGCHeatmapLayer heatmap, com.supermap.mapping.Map mapObj, com.supermap.data.Workspace ugoWorkspace)protected static com.supermap.mapping.LayeraddLayer(UGCLayer ugcLayer, com.supermap.mapping.Map mapObj, com.supermap.data.Workspace ugoWorkspace)voidclose()voiddispose()com.supermap.mapping.MapgetMap()java.lang.StringgetMapName()static com.supermap.mapping.FieldValuesDisplayModegetUGOFieldValuesDisplayMode(FieldValuesDisplayMode fieldValuesDisplayMode)voidreset()voidsetDefaultMapParameter(MapParameter defaultMapParam)protected static com.supermap.data.JoinItemssetJoinItemsForTheme(JoinItem[] joinItems, com.supermap.data.QueryParameter queryParameter)An internal method for supporting join thematic maps.MapParameterupdateStatus(MapParameter mapParam)protected static voidupdateUgoLayer(com.supermap.mapping.Layer ugoLayer, UGCLayer layer, Map mapObj)
-
-
-
Field Detail
-
iServerStatus
protected MapParameter iServerStatus
-
ugoStatus
protected Map ugoStatus
-
mapName
protected java.lang.String mapName
-
-
Constructor Detail
-
MapStatusManager
public MapStatusManager(com.supermap.mapping.Map ugoMapStatus, MapParameter iServerMapStatus)Constructs a new MapStatusManager instance by using UGO map status and iServer map status. It requires that the UGO map status is consistent with the iServer map status.- Parameters:
ugoMapStatus-iServerMapStatus-
-
MapStatusManager
protected MapStatusManager()
-
-
Method Detail
-
addHeatmapLayer
protected static com.supermap.mapping.Layer addHeatmapLayer(UGCHeatmapLayer heatmap, com.supermap.mapping.Map mapObj, com.supermap.data.Workspace ugoWorkspace)
-
addLayer
protected static com.supermap.mapping.Layer addLayer(UGCLayer ugcLayer, com.supermap.mapping.Map mapObj, com.supermap.data.Workspace ugoWorkspace)
-
getUGOFieldValuesDisplayMode
public static com.supermap.mapping.FieldValuesDisplayMode getUGOFieldValuesDisplayMode(FieldValuesDisplayMode fieldValuesDisplayMode)
-
updateUgoLayer
protected static void updateUgoLayer(com.supermap.mapping.Layer ugoLayer, UGCLayer layer, Map mapObj)
-
setJoinItemsForTheme
protected static com.supermap.data.JoinItems setJoinItemsForTheme(JoinItem[] joinItems, com.supermap.data.QueryParameter queryParameter)
An internal method for supporting join thematic maps.- Parameters:
joinItems-queryParameter-- Returns:
-
getMap
public com.supermap.mapping.Map getMap()
-
getMapName
public java.lang.String getMapName()
-
setDefaultMapParameter
public void setDefaultMapParameter(MapParameter defaultMapParam)
-
updateStatus
public MapParameter updateStatus(MapParameter mapParam)
-
reset
public void reset()
-
close
public void close()
-
dispose
public void dispose()
-
-