com.ibm.tivoli.maximo.map

Class MapControlAccessor

  • java.lang.Object
    • com.ibm.tivoli.maximo.map.MapControlAccessor


  • public class MapControlAccessor
    extends java.lang.Object
    This class is used to interact with MapControl. Examples of interactions are: add records to an existing or new layer.
    • Field Detail

    • Method Detail

      • setRecordsToLayer

        public void setRecordsToLayer(java.lang.String layerName,
                                      MboSetRemote records)
                               throws java.rmi.RemoteException,
                                      MXException
        Set records of layerName. Note: if the layer already exists all its records are removed first.
        Parameters:
        layerName - The label of the layer - e.g.: Unassigned Work
        records - A Gisable mboset
        Throws:
        java.rmi.RemoteException
        MXException
      • addRecordsToLayer

        public void addRecordsToLayer(java.lang.String layerName,
                                      MboSetRemote records)
                               throws java.rmi.RemoteException,
                                      MXException
        Add records of layerName. Note: if the layer already exists the new records are appended to the layer.
        Parameters:
        layerName - The label of the layer - e.g.: Unassigned Work
        records - A Gisable mboset
        Throws:
        java.rmi.RemoteException
        MXException
      • removeRecordsFromLayer

        public void removeRecordsFromLayer(java.lang.String layerName,
                                           MboSetRemote records)
                                    throws java.rmi.RemoteException,
                                           MXException
        Remove records from layerName.
        Parameters:
        layerName - The label of the layer - e.g.: Unassigned Work
        records - A Gisable mboset
        Throws:
        java.rmi.RemoteException
        MXException
      • getBounds

        public LatLngBounds getBounds()
        Get the bottom left (south west) corner point of the current map.
      • setMapBounds

        public void setMapBounds(LatLngBounds bounds)
      • createMapCallback

        public void createMapCallback(java.lang.String action,
                                      com.ibm.json.java.JSONObject data)
                               throws java.rmi.RemoteException,
                                      MXException
        Throws:
        java.rmi.RemoteException
        MXException