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 |
Description: adds a Feature to the Model Parameters: feature - a geoJSON featuree
this.addFeature = function( feature )
Add a feature to the geometry array
this.addFeature = 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
this.addFeatureCollection = function ( geoJSON )
Description: The callback received from the Model upon successfully adding a Feature Parameters: featureEntryCollection - an array of (index,featureCollection) tuples
var addFeatureCollection_callback = function( featureEntryCollection )
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.addGlobalButton = 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.addPopupButton = 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
this.addRowButton = function( buttondef )
Clone an object recursively.
Mapbender.cloneObject = function ( p, c )
creates a printBox in the current view, calculates the scale (tbd.
this.createPrintBox = function ()
Delete a feature from the geometry array
this.deleteFeature = function ( index )
Delete the feature collection (= clear)
this.deleteFeatureCollection = function ()
removes an existing printBox.
var destroyPrintBox = function ()
var MapbenderEvent = Mapbender.Event = function ()
Mapbender.Exception = function ( message )
Mapbender.Extent = function ( minx, miny, maxx, maxy )
returns the character necessary to append to a string in order to attach more GET parameters
Mapbender.getConjunctionChar = function ( url )
Get a feature in the geometry array
this.getFeature = function ( index )
Get a property of a feature in the geometry array
this.getFeatureProperty = function ( index, pName )
checks the actual config for the size w/h values.
var getPDFMapSize = function ( key )
Description: gets all rows from the datatable which are selected Returns: an an array of DOMTableRow
this.getSelected = function()
Hides the sandclock
this.hide = function ( nodeId )
utility method to connect the form plugin to the print form.
var hookForm = function ()
Checks if a function is already registered with this event.
this.isRegistered = function ( aFunction )
GETs the config, build corresponding form, remove an existing printBox
this.loadConfig = function ( configFilename, callback )
Mapbender.Map = function ( options )
Mapbender.Marker = function ( p, map )
initializes the print modules, generates template chooser and loads first configuration.
var mod_printPDF_init = function ()
Mapbender.Notice = function ( message )
just pass a Point in order to clone it.
Mapbender.Point = function ( x, y, z )
A function that needs to be executed, when the event occurs, has to be registered via this function.
this.register = function( aFunction, scope )
Reloads the window.
this.reload = function ()
Remove the marker from the map.
this.remove = function ()
Mapbender.Ajax.Request = function ( options )
var ResultGeometryListModel = function ()
Sends the request to the server side
this.send = function ()
Allows to set the center (one param) or the extent (two params)
this.set = function ( min, max )
set the extent of the wms
this.setExtent = function( minx, miny, maxx, maxy )
Set a property of a feature in the geometry array
this.setFeatureProperty = function ( index, pName, pValue )
Displays the sandclock
this.show = function ( nodeId, arg )
load the generated PDF from the returned URL as an attachment, that triggers a download popup or is displayed in PDF plugin.
var showResult = function ( res, text )
Returns a comma-separated list of all four coordinates
Mapbender.Extent.prototype.toString = function ()
This function triggers the event.
this.trigger = function( properties, booleanOperator )
Exclude a previously registered function from the event permanently
this.unregister = function( aFunction )
Replace a feature in the geometry array
this.updateFeature = function ( index, geoJson )
Mapbender.Warning = function ( message )