public class MapControlAccessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAP_ACCESSOR_ID |
Constructor and Description |
---|
MapControlAccessor(MapControlCallbacks instance) |
MapControlAccessor(MapControlCallbacks instance,
LatLngBounds bounds) |
Modifier and Type | Method and Description |
---|---|
void |
addRecordsToLayer(java.lang.String layerName,
MboSetRemote records)
Add records of
layerName . |
void |
createMapCallback(java.lang.String action,
com.ibm.json.java.JSONObject data) |
LatLngBounds |
getBounds()
Get the bottom left (south west) corner point of the current map.
|
MapDataUtils.PROVIDER |
getCurrentProvider() |
MboRemote |
getMainRecordMbo() |
void |
removeRecordsFromLayer(java.lang.String layerName,
MboSetRemote records)
Remove records from
layerName . |
void |
setMapBounds(LatLngBounds bounds) |
void |
setRecordsToLayer(java.lang.String layerName,
MboSetRemote records)
Set records of
layerName . |
public static final java.lang.String MAP_ACCESSOR_ID
public MapControlAccessor(MapControlCallbacks instance)
public MapControlAccessor(MapControlCallbacks instance, LatLngBounds bounds)
public void setRecordsToLayer(java.lang.String layerName, MboSetRemote records) throws java.rmi.RemoteException, MXException
layerName
.
Note: if the layer already exists all its records are removed first.layerName
- The label of the layer - e.g.: Unassigned Workrecords
- A Gisable mbosetjava.rmi.RemoteException
MXException
public void addRecordsToLayer(java.lang.String layerName, MboSetRemote records) throws java.rmi.RemoteException, MXException
layerName
.
Note: if the layer already exists the new records are appended to the layer.layerName
- The label of the layer - e.g.: Unassigned Workrecords
- A Gisable mbosetjava.rmi.RemoteException
MXException
public void removeRecordsFromLayer(java.lang.String layerName, MboSetRemote records) throws java.rmi.RemoteException, MXException
layerName
.layerName
- The label of the layer - e.g.: Unassigned Workrecords
- A Gisable mbosetjava.rmi.RemoteException
MXException
public LatLngBounds getBounds()
public void setMapBounds(LatLngBounds bounds)
public void createMapCallback(java.lang.String action, com.ibm.json.java.JSONObject data) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public MapDataUtils.PROVIDER getCurrentProvider()
public MboRemote getMainRecordMbo() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException