TmplUtil Class
Item Index
Methods
autoHyperlink
(
-
content
Wraps plain text urls and emails with tags.
Parameters:
-
content
Stringthe text you would like to search in.
getFeatureName
(
String
-
fData
-
layerConfig
Given a feature data object return the attribute value for its designed "name" field
Returns:
String:
imageUrl Url to the features symbology image
getGraphicIcon
(
String
-
fData
-
layerConfig
Given a feature data object return the image URL for that feature/graphic object.
Returns:
String:
imageUrl Url to the features symbology image
getObjectId
(
Integer
-
fData
Given a feature data object return the objectid for that item.
Parameters:
-
fData
Objectfeature data object
Returns:
Integer:
objectId
getSymbolForLayer
(
Icon
-
layerConfig
Gets an array of symbology images to display in the layer selector
Parameters:
-
layerConfig
ObjectA layer's config object
Returns:
Icon:
The array of icon(s) to use in layer selector