Package io.goobi.viewer.model.maps
Class GeoMapMarker
java.lang.Object
io.goobi.viewer.model.maps.GeoMapMarker
- Author:
- florian
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeoMapMarker
fromJSONString
(String json) getIcon()
int
getName()
getShape()
getType()
boolean
isShadow()
boolean
isSvg()
boolean
void
setClassName
(String cssClass) void
setExtraClasses
(String extraClasses) void
setHighlightColor
(String highlightColor) void
setHighlightIcon
(String highlightIcon) void
void
setIconColor
(String iconColor) void
setIconRotate
(int iconRotation) void
setMarkerColor
(String markerColor) void
void
void
void
setShadow
(boolean shadow) void
void
setSvg
(boolean svg) void
void
setUseDefault
(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.JsonMappingException
com.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
-