1.8

Table Of Contents
Option Description Type Default
timeout The maximum length of time (milliseconds)
that is allowed to pass before the position
is retrieved.
Number 2700
Events
The Geolocation element listens for the following events.
Event Description
clear.cotg
Removes the Geolocation data.
restore-
state.cotg
Restores the state of the widget when the form is reopened in the COTG
app, after the app has restored previously entered values of static input
fields.
update.cotg Sets the element to the current geolocation.
Image & Annotation
cotgNoteOnImage()
Initializing a new Image & Annotation element prepares it for user interaction.
Example: $('#myNoteOnImage').cotgNoteOnImage();
Note
To use this element with a Camera widget instead of a static image, you only have to initialize the
Camera widget with the allowannotations option set to true. The Camera widget will
automatically initialize the Image & Annotation widget.
The Image & Annotation element listens for the following events.
Page 460