Class: ParametricURL

Core ParametricURL

ParametricURL

new ParametricURL()

modules/core/parametricURL.js, line 48
Processes parameters that are specified via the URL.
Properties:
Name Type Default Description
layerParamas Array.<String> [ Parameters to show layers.
isInitOpen Array.<String> "" Tool to be opened initially.
zoomToGeometry string [ Geoemtry to be zoomed on.
zoomToFeatureIds Array.<String> [ Features to be zoomed in on.
Fires:
Listens to Events:

Extends

Methods

adjustStartingMap3DParameter(mapMode){void}

modules/core/parametricURL.js, line 652
aAjusts the Config startingMap3D parameter.
Name Type Description
mapMode string The map Mode, 2D or 3D.

convertInitialLettersToUppercase(words, separator){string}

modules/core/parametricURL.js, line 599
convert all initial letters to uppercase letters
Name Type Default Description
words string "" optional Words with lettes.
separator string " " optional Separator for split words.
Returns:
Letters.

createLayerParams(layerIdString){void}

modules/core/parametricURL.js, line 328
todo
Name Type Description
layerIdString string The layerIds.
Fires:

createLayerParamsUsingMetaId(metaIds){void}

modules/core/parametricURL.js, line 459
Starts the layer with the given metadataid and the lasz configured basemap.
Name Type Description
metaIds Array.<string> layer to be drawn.
Fires:

evaluateCameraParameters(result, property){void}

modules/core/parametricURL.js, line 630
Evaluates and sets the camera parameters
Name Type Description
result * the value for the camera
property string represents the camera element

parseConfigSwitcher(value){void}

modules/core/parametricURL.js, line 411
Setter für referenceDate.
Name Type Description
value string Datum im Format YYYY-MM-DD.

parseCoordinates(coordinatesFromUrl){void}

modules/core/parametricURL.js, line 499
Parse the coorinates from string to floats.
Name Type Description
coordinatesFromUrl string Coordinates from URL.

parseGeomaerker(result){void}

modules/core/parametricURL.js, line 842
Parses value of GEOMAERKER parameter
Name Type Description
result string The value of the parameter GEOMAERKER

parseIsInitOpen(tool, property){void}

modules/core/parametricURL.js, line 563
Controls which tool is to be opened initially.
Name Type Description
tool string Tool to be opened initially.
property string The parameter that is in URL.

parseMDID(result){void}

modules/core/parametricURL.js, line 398
Parses a metadataid.
Name Type Description
result Array.<String> The metadataid.

parseProjection(result){void}

modules/core/parametricURL.js, line 486
todo
Name Type Description
result * todo

parseQuery(query){void}

modules/core/parametricURL.js, line 579
Parse parameter to search in searchbar.
Name Type Description
query string The Searchquery.

parseStyle(result){void}

modules/core/parametricURL.js, line 616
Triggers the uiStyle for the modes: table or simple.
Name Type Default Description
result string "" optional Table or simple style.
Fires:

parseURL(query, possibleUrlParameters){void}

modules/core/parametricURL.js, line 194
Parse the URL parameters.
Name Type Description
query string URL --> everything after ? if available.
possibleUrlParameters object The possible URL-parameters.

parseZOOMTOEXTENT(result){void}

modules/core/parametricURL.js, line 510
todo
Name Type Description
result * todo

parseZoomToGeometry(gemometryFromUrl, property){void}

modules/core/parametricURL.js, line 523
Parse a Gemometry to be zoomed on. Only configured geometries are zoomed in.
Name Type Description
gemometryFromUrl * Geometry to be zoomed on.
property string The parameter that is in URL.

possibleUrlParameters(){object}

modules/core/parametricURL.js, line 228
Delivers the possible parameters that can be specified in the URL.
Returns:
possible URL-parameters.

pushToIsInitOpen(value){void}

modules/core/parametricURL.js, line 301
todo
Name Type Description
value * todo

setBrwId(value){void}

modules/core/parametricURL.js, line 706
Setter for brwId.
Name Type Description
value String The Id from the groundValue (dt. Bodenrichtwert).

setBrwLayerName(value){void}

modules/core/parametricURL.js, line 715
Setter for brwLayerName.
Name Type Description
value String Brw layer name

setCenter(coordinate){void}

modules/core/parametricURL.js, line 724
Setter for center.
Name Type Description
coordinate String The center-coordinate for the map.

setClickCounter(value){void}

modules/core/parametricURL.js, line 643
Sets the clickCounter staticLink to the Config.
Name Type Description
value * todo

setFilter(value){void}

modules/core/parametricURL.js, line 733
Sets the filter.
Name Type Description
value string Filer values.

setHighlightfeature(value){void}

modules/core/parametricURL.js, line 742
Sets the highlightfeature.
Name Type Description
value * todo

setInitString(initString){void}

modules/core/parametricURL.js, line 751
Sets the highlightfeature.
Name Type Description
initString * todo

setIsInitOpenArray(value){void}

modules/core/parametricURL.js, line 760
Setter for isInitOpen.
Name Type Description
value * todo

setLayerParams(value){void}

modules/core/parametricURL.js, line 769
Setter for layerParams.
Name Type Description
value * todo

setMarkerFromUrl(coordinate){void}

modules/core/parametricURL.js, line 778
Setter for markerFromUrl.
Name Type Description
coordinate String Coordinate for the marker.

setProjectionFromUrl(value){void}

modules/core/parametricURL.js, line 787
Setter for projectionFromUrl.
Name Type Description
value String todo

setResult(value){void}

modules/core/parametricURL.js, line 797
Setter for result.
Name Type Description
value * todo

setZoomLevel(value){void}

modules/core/parametricURL.js, line 806
Setter for zoomLevel.
Name Type Description
value * todo

setZoomToExtent(value){void}

modules/core/parametricURL.js, line 833
Setter for zoomToExtent.
Name Type Description
value * todo

setZoomToFeatureIds(ids){void}

modules/core/parametricURL.js, line 815
Setter for zoomToFeatureIds.
Name Type Description
ids * Feature IDs.

setZoomToGeometry(value){void}

modules/core/parametricURL.js, line 824
Setter for zoomToGeometry.
Name Type Description
value * todo

toBoolean(value){boolean}

modules/core/parametricURL.js, line 264
Turn strings that can be commonly considered as booleas to real booleans. Such as "true", "false", "1" and "0". This function is case insensitive.
Name Type Description
value number | string The value to be checked
Returns:
Return of a Boolean

toNumber(num, precision){number}

modules/core/parametricURL.js, line 287
Parse string to number. Returns NaN if string can't be parsed to number. Aus underscore.string
Name Type Description
num string todo
precision Array.<number> The decimal places.

updateQueryStringParam(key, value){void}

modules/core/parametricURL.js, line 669
todo https://gist.github.com/excalq/2961415
Name Type Description
key string Key
value string Value
Fires:

waitForConfigSwitcherParsed(){Promise.<void>}

modules/core/parametricURL.js, line 175
Wartet auf das Event `configSwitcherParsed`.
Returns:
Promise, das sich auflöst, wenn das Event eintritt.