Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 addFeature
 addFeatureCollection
 addFeatureCollection_callback
 addGlobalButton, resultList
 addPopupButton, resultList
 addRowButton
C
 cloneObject, Mapbender
 cookiesEnables, Mapbender
 createPrintBox, printPDF
D
 deleteFeature, ResultGeometryListModel
 deleteFeatureCollection, ResultGeometryListModel
 destroyPrintBox, printPDF
E
 Event, Event.Mapbender
 Exception, Exception
 Extent, Extent
G
 getConjunctionChar, Mapbender
 getFeature, ResultGeometryListModel
 getFeatureProperty, ResultGeometryListModel
 getPDFMapSize, printPDF
 getSelected, resultList
H
 hide, Sandclock
 hookForm, printPDF
I
 isRegistered, Event
L
 loadConfig, printPDF
M
 Map, Map
 Marker, Marker.Mapbender
 mod_printPDF_init, printPDF
N
 Notice, Notice
P
 Point, Point
R
 register, Event
 reload, Reload
 remove, Marker
 Request
 ResultGeometryListModel, ResultGeometryListModel
S
 send, Request
 set, Extent
 setExtent, Map
 setFeatureProperty, ResultGeometryListModel
 show, Sandclock
 showResult, printPDF
T
 toString, Extent
 trigger, Event
U
 unregister, Event
 updateFeature, ResultGeometryListModel
W
 Warning, Warning
this.addFeature = function(feature)
Description: adds a Feature to the Model Parameters: feature - a geoJSON featuree
this.addFeature = function (geoJSON)
Add a feature to the geometry array
this.addFeatureCollection = function(geoJSON)
Description: adds a FeatureCollection to the Model Parameters: geoJSON - a geoJSON featureCollection
this.addFeatureCollection = function (geoJSON)
Add a feature collection to the geometry array
var addFeatureCollection_callback = function(featureEntryCollection)
Description: The callback received from the Model upon successfully adding a Feature Parameters: featureEntryCollection - an array of (index,featureCollection) tuples
this.addGlobalButton = function(buttondef)
Descriptions: adds a Button to the bottom of the resultList Parameters: buttondef: {Object} an object with five properties, “title”, “type” (either button or select) “classes” (the classes the button should have), “selectoptions” (an array in case the type is select), “callback”
this.addPopupButton = function(buttondef)
Description: adds a Button to the Popupmenu that is displayed when the user clicks an entry in the result list Parameters: buttondef: {Object} an object with two properties: “title” and “callback”, a function that gets the feature that corresponds to the popup as it’s argument
this.addRowButton = function(buttondef)
Description: adds a Button to each row Parameters: buttondef: {Object} an object with properties: “title” and “callback”, a function that gets the feature that corresponds to the popup as it’s argument
Mapbender.cloneObject = function (p,
c)
Clone an object recursively.
Checks whether cookies are enabled in the browser
this.createPrintBox = function ()
creates a printBox in the current view, calculates the scale (tbd.
this.deleteFeature = function (index)
Delete a feature from the geometry array
this.deleteFeatureCollection = function ()
Delete the feature collection (= clear)
var destroyPrintBox = function ()
removes an existing printBox.
var MapbenderEvent = Mapbender.Event = function ()
Mapbender.Exception = function (message)
Mapbender.Extent = function (minx,
miny,
maxx,
maxy)
Mapbender.getConjunctionChar = function (url)
returns the character necessary to append to a string in order to attach more GET parameters
this.getFeature = function (index)
Get a feature in the geometry array
this.getFeatureProperty = function (index,
pName)
Get a property of a feature in the geometry array
var getPDFMapSize = function (key)
checks the actual config for the size w/h values.
this.getSelected = function()
Description: gets all rows from the datatable which are selected Returns: an an array of DOMTableRow
this.hide = function (nodeId)
Hides the sandclock
var hookForm = function ()
utility method to connect the form plugin to the print form.
this.isRegistered = function (aFunction)
Checks if a function is already registered with this event.
this.loadConfig = function (configFilename,
callback)
GETs the config, build corresponding form, remove an existing printBox
Mapbender.Map = function (options)
Mapbender.Marker = function (p,
map)
var mod_printPDF_init = function ()
initializes the print modules, generates template chooser and loads first configuration.
Mapbender.Notice = function (message)
Mapbender.Point = function (x,
y,
z)
just pass a Point in order to clone it.
this.register = function(aFunction,
scope)
A function that needs to be executed, when the event occurs, has to be registered via this function.
this.reload = function ()
Reloads the window.
this.remove = function ()
Remove the marker from the map.
Mapbender.Ajax.Request = function (options)
var ResultGeometryListModel = function ()
this.send = function ()
Sends the request to the server side
this.set = function (min,
max)
Allows to set the center (one param) or the extent (two params)
this.setExtent = function(minx,
miny,
maxx,
maxy)
set the extent of the wms
this.setFeatureProperty = function (index,
pName,
pValue)
Set a property of a feature in the geometry array
this.show = function (nodeId,
arg)
Displays the sandclock
var showResult = function (res,
text)
load the generated PDF from the returned URL as an attachment, that triggers a download popup or is displayed in PDF plugin.
Mapbender.Extent.prototype.toString = function ()
Returns a comma-separated list of all four coordinates
this.trigger = function(properties,
booleanOperator)
This function triggers the event.
this.unregister = function(aFunction)
Exclude a previously registered function from the event permanently
this.updateFeature = function (index,
geoJson)
Replace a feature in the geometry array
Mapbender.Warning = function (message)
Close