Class BoundsTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.JSTag
org.deltava.taglib.mapbox.MapEntryTag
org.deltava.taglib.mapbox.BoundsTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
A JSP tag to create a MapBox LatLngBounds object.
- Since:
- 6.3
- Version:
- 12.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.taglib.JSTag
_jsVarName
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
void
release()
void
setItems
(Collection<GeoLocation> pts) Sets the points to use to calculate the bounding box.Methods inherited from class org.deltava.taglib.mapbox.MapEntryTag
doStartTag, generateIconMarker, generateMarker, getAPIVersion
Methods inherited from class org.deltava.taglib.JSTag
setConst, setVar, writeVariableName
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
BoundsTag
public BoundsTag()
-
-
Method Details
-
setItems
Sets the points to use to calculate the bounding box.- Parameters:
pts
- a Collection of GeoLocation objects
-
release
-
doEndTag
- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Throws:
JspException
-