Templates describe features that can be created in a layer. They are generally used with feature collections and editable web-based CSV layers. Templates are not used with ArcGIS feature services as these already have templates defined in the service. They are also defined as properties of the layer definition when there are no defined types. Otherwise, templates are defined as properties of the types.
Properties Property Type Notes description
any
A string value containing a detailed description of the template.
drawingTool
FeatureEditTool
An optional string that can define a client-side drawing tool to be used with this feature. For example, map notes used by the Online Map Viewer use this to represent the viewer's different drawing tools.
name
string
A string containing a user-friendly name for the template.
prototype
IFeature
A feature object representing a prototypical feature for the template.
descriptionoptional
Interface Propertydescription: any
A string value containing a detailed description of the template.
drawingTooloptional
Interface PropertydrawingTool: FeatureEditTool
An optional string that can define a client-side drawing tool to be used with this feature. For example, map notes used by the Online Map Viewer use this to represent the viewer's different drawing tools.
nameoptional
Interface Propertyname: string
A string containing a user-friendly name for the template.
prototypeoptional
Interface Propertyprototype: IFeature
A feature object representing a prototypical feature for the template.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4