Class BoundsTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class BoundsTag extends MapEntryTag
A JSP tag to create a MapBox LatLngBounds object.
Since:
6.3
Version:
12.0
Author:
Luke
See Also:
  • Constructor Details

    • BoundsTag

      public BoundsTag()
  • Method Details

    • setItems

      public void setItems(Collection<GeoLocation> pts)
      Sets the points to use to calculate the bounding box.
      Parameters:
      pts - a Collection of GeoLocation objects
    • release

      public void release()
      Specified by:
      release in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      release in class JSTag
    • 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