Class PointArrayTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.JSTag
org.deltava.taglib.mapbox.MapEntryTag
org.deltava.taglib.mapbox.PointArrayTag
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class PointArrayTag extends MapEntryTag
A JSP Tag to generate a GeoJSON LineString object.
Since:
12.0
Version:
12.0
Author:
Luke
See Also:
  • Constructor Details

    • PointArrayTag

      public PointArrayTag()
  • Method Details

    • setItems

      public void setItems(Collection<GeoLocation> points)
      Sets the points used to generate the array.
      Parameters:
      points - a Collection of GeoLocations
    • release

      public void release()
      Specified by:
      release in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      release in class JSTag
    • doStartTag

      public int doStartTag()
      Description copied from class: MapEntryTag
      Executed before the Tag is rendered. This will check for the presence of required JavaScript files in the request. Tags that do not require this check can override this method.
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class MapEntryTag
      Returns:
      TagSupport.SKIP_BODY always
    • doEndTag

      public int doEndTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException