Package io.goobi.viewer.model.maps
Class GeoMapMarker
java.lang.Object
io.goobi.viewer.model.maps.GeoMapMarker
- Author:
- florian
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoMapMarkerfromJSONString(String json) getIcon()intgetName()getShape()getType()booleanisShadow()booleanisSvg()booleanvoidsetClassName(String cssClass) voidsetExtraClasses(String extraClasses) voidsetHighlightColor(String highlightColor) voidsetHighlightIcon(String highlightIcon) voidvoidsetIconColor(String iconColor) voidsetIconRotate(int iconRotation) voidsetMarkerColor(String markerColor) voidvoidvoidvoidsetShadow(boolean shadow) voidvoidsetSvg(boolean svg) voidvoidsetUseDefault(boolean useDefault)
-
Constructor Details
-
GeoMapMarker
-
GeoMapMarker
public GeoMapMarker()
-
-
Method Details
-
getIcon
- Returns:
- the icon
-
setIcon
- Parameters:
icon- the icon to set
-
getMarkerColor
- Returns:
- the markerColor
-
setMarkerColor
- Parameters:
markerColor- the markerColor to set
-
getShape
- Returns:
- the shape
-
setShape
- Parameters:
shape- the shape to set
-
getExtraClasses
- Returns:
- the extraClasses
-
setExtraClasses
- Parameters:
extraClasses- the extraClasses to set
-
getPrefix
- Returns:
- the prefix
-
setPrefix
- Parameters:
prefix- the prefix to set
-
getIconColor
- Returns:
- the iconColor
-
setIconColor
- Parameters:
iconColor- the iconColor to set
-
getIconRotate
public int getIconRotate()- Returns:
- the iconRotation
-
setIconRotate
public void setIconRotate(int iconRotation) - Parameters:
iconRotation- the iconRotation to set
-
getNumber
- Returns:
- the number
-
setNumber
- Parameters:
number- the number to set
-
isSvg
public boolean isSvg()- Returns:
- the svg
-
setSvg
public void setSvg(boolean svg) - Parameters:
svg- the svg to set
-
getName
- Returns:
- the name
-
setName
- Parameters:
name- the name to set
-
isShadow
public boolean isShadow()- Returns:
- the shadow
-
setShadow
public void setShadow(boolean shadow) - Parameters:
shadow- the shadow to set
-
getHighlightColor
- Returns:
- the highlightColor
-
setHighlightColor
- Parameters:
highlightColor- the highlightColor to set
-
toJSONString
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
fromJSONString
public static GeoMapMarker fromJSONString(String json) throws com.fasterxml.jackson.databind.JsonMappingException, com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.databind.JsonMappingExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
setUseDefault
public void setUseDefault(boolean useDefault) - Parameters:
useDefault- the useDefault to set
-
isUseDefault
public boolean isUseDefault()- Returns:
- the useDefault
-
setHighlightIcon
- Parameters:
highlightIcon- the highlightIcon to set
-
getHighlightIcon
- Returns:
- the highlightIcon
-
getType
-
setType
-
getClassName
-
setClassName
-