Class GeoMapMarker

java.lang.Object
io.goobi.viewer.model.maps.GeoMapMarker

public class GeoMapMarker extends Object
Author:
florian
  • Constructor Details

    • GeoMapMarker

      public GeoMapMarker(String name)
    • GeoMapMarker

      public GeoMapMarker()
  • Method Details

    • getIcon

      public String getIcon()
      Returns:
      the icon
    • setIcon

      public void setIcon(String icon)
      Parameters:
      icon - the icon to set
    • getMarkerColor

      public String getMarkerColor()
      Returns:
      the markerColor
    • setMarkerColor

      public void setMarkerColor(String markerColor)
      Parameters:
      markerColor - the markerColor to set
    • getShape

      public String getShape()
      Returns:
      the shape
    • setShape

      public void setShape(String shape)
      Parameters:
      shape - the shape to set
    • getExtraClasses

      public String getExtraClasses()
      Returns:
      the extraClasses
    • setExtraClasses

      public void setExtraClasses(String extraClasses)
      Parameters:
      extraClasses - the extraClasses to set
    • getPrefix

      public String getPrefix()
      Returns:
      the prefix
    • setPrefix

      public void setPrefix(String prefix)
      Parameters:
      prefix - the prefix to set
    • getIconColor

      public String getIconColor()
      Returns:
      the iconColor
    • setIconColor

      public void setIconColor(String iconColor)
      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

      public String getNumber()
      Returns:
      the number
    • setNumber

      public void setNumber(String number)
      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

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      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

      public String getHighlightColor()
      Returns:
      the highlightColor
    • setHighlightColor

      public void setHighlightColor(String highlightColor)
      Parameters:
      highlightColor - the highlightColor to set
    • toJSONString

      public String toJSONString() throws com.fasterxml.jackson.core.JsonProcessingException
      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

      public void setHighlightIcon(String highlightIcon)
      Parameters:
      highlightIcon - the highlightIcon to set
    • getHighlightIcon

      public String getHighlightIcon()
      Returns:
      the highlightIcon
    • getType

      public GeoMapMarker.MarkerType getType()
    • setType

      public void setType(GeoMapMarker.MarkerType type)
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String cssClass)