Class InsertAPITag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.mapbox.InsertAPITag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class InsertAPITag extends TagSupport
A JSP tag to insert a link to the Mapbox JS API.
Since:
12.0
Version:
12.0
Author:
Luke
See Also:
  • Field Details

  • Constructor Details

    • InsertAPITag

      public InsertAPITag()
  • Method Details

    • setVersion

      public void setVersion(int ver)
      Sets the Google API version to pull down.
      Parameters:
      ver - the API major version
    • setJs

      public void setJs(String jsList)
      Sets the Javascript libraries to load after the API is loaded.
      Parameters:
      jsList - a comma-separated list of libraries
    • doEndTag

      public int doEndTag() throws JspException
      Specified by:
      doEndTag in interface Tag
      Overrides:
      doEndTag in class TagSupport
      Throws:
      JspException