Template:Digitalisierung - Module - Function registering
From MapbenderWiki
(Redirected from Digitalisierung - Module - Function registering)
[edit]
function registering
[edit]
functions
- registerFunctions(): this method is called onload. The given functions will be invoked whenever they are triggered.
- checkTag(): checks if a div tag with id of the digitize frame (given in the element vars: mod_digitize_elName) exists in frame mod_digitize_target. If yes, these element's attributes are set and itself is returned, if not, it is created (with attributes) and returned if an element with id like mod_digitize_elName exists and it is not a div tag, false is returned.
- setStyleForTargetFrame(): this adds the stylesheet to the map frame.
- checkCanvasTag(): see checkTag(), but this one checks for the div tag of the snapping module.

