Class LeafletMapController
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.gui.plotting.LeafletMapController
- All Implemented Interfaces:
GeoMap
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidaddIcons(Collection<Icon> icons) voidaddLayer(WMSLayerDescriptor layer) voidvoidbooleanvoidlonggetIcons()inthashCode()voidhide()voidregisterEventCallback(Consumer<MapCallbackEvent> callback) voidremoveEventCallback(Consumer<MapCallbackEvent> callback) booleanremoveIcon(Icon icon) voidremoveIcons(Collection<Icon> icons) voidremoveShape(GeoShape shape) voidsetPolygonGeoJSON(String geoJSON) voidshow()toString()
-
Method Details
-
hide
public void hide() -
show
public void show() -
getIconCount
public long getIconCount()- Specified by:
getIconCountin interfaceGeoMap
-
getIcons
-
clearIcons
public void clearIcons()- Specified by:
clearIconsin interfaceGeoMap
-
addLayer
-
addIcon
-
removeIcon
- Specified by:
removeIconin interfaceGeoMap
-
addIcons
-
removeIcons
- Specified by:
removeIconsin interfaceGeoMap
-
addShape
-
removeShape
- Specified by:
removeShapein interfaceGeoMap
-
fitViewToActiveShapes
public void fitViewToActiveShapes()- Specified by:
fitViewToActiveShapesin interfaceGeoMap
-
registerEventCallback
- Specified by:
registerEventCallbackin interfaceGeoMap
-
removeEventCallback
- Specified by:
removeEventCallbackin interfaceGeoMap
-
getPolygonGeoJSON
- Specified by:
getPolygonGeoJSONin interfaceGeoMap
-
setPolygonGeoJSON
- Specified by:
setPolygonGeoJSONin interfaceGeoMap
-
hashCode
public int hashCode() -
equals
-
toString
-