new ParametricURL()
modules/core/parametricURL.js, line 45
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:
- Core#event:RadioTriggerParametricURLReady
- Alerting#event:RadioTriggerAlertAlert
- Core.ConfigLoader#event:RadioRequestParserGetItemByAttributes
- Core.ConfigLoader#event:RadioRequestParserGetItemsByMetaID
- RemoteInterface#event:RadioTriggerRemoteInterfacePostMessage
Listens to Events:
- Core#event:RadioRequestParametricURLGetResult
- Core#event:RadioRequestParametricURLGetLayerParams
- Core#event:RadioRequestParametricURLGetIsInitOpen
- Core#event:RadioRequestParametricURLGetInitString
- Core#event:RadioRequestParametricURLGetProjectionFromUrl
- Core#event:RadioRequestParametricURLGetCenter
- Core#event:RadioRequestParametricURLGetZoomLevel
- Core#event:RadioRequestParametricURLGetZoomToGeometry
- Core#event:RadioRequestParametricURLGetZoomToExtent
- Core#event:RadioRequestParametricURLGetStyle
- Core#event:RadioRequestParametricURLGetFilter
- Core#event:RadioRequestParametricURLGetHighlightFeature
- Core#event:RadioRequestParametricURLGetZoomToFeatureIds
- Core#event:RadioRequestParametricURLGetBrwId
- Core#event:RadioRequestParametricURLGetBrwLayerName
- Core#event:RadioRequestParametricURLGetMarkerFromUrl
- Core#event:RadioTriggerParametricURLUpdateQueryStringParam
- Core#event:RadioTriggerParametricURLPushToIsInitOpen
Extends
Methods
-
adjustStartingMap3DParameter(mapMode){void}
modules/core/parametricURL.js, line 522 -
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 469 -
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 244 -
todo
Name Type Description layerIdString
string The layerIds. Fires:
-
createLayerParamsUsingMetaId(metaIds){void}
modules/core/parametricURL.js, line 329 -
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 500 -
Evaluates and sets the camera parameters
Name Type Description result
* the value for the camera property
string represents the camera element -
parseCoordinates(coordinatesFromUrl){void}
modules/core/parametricURL.js, line 369 -
Parse the coorinates from string to floats.
Name Type Description coordinatesFromUrl
string Coordinates from URL. -
parseGeomaerker(result){void}
modules/core/parametricURL.js, line 712 -
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 433 -
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 314 -
Parses a metadataid.
Name Type Description result
Array.<String> The metadataid. -
parseProjection(result){void}
modules/core/parametricURL.js, line 356 -
todo
Name Type Description result
* todo -
parseQuery(query){void}
modules/core/parametricURL.js, line 449 -
Parse parameter to search in searchbar.
Name Type Description query
string The Searchquery. -
parseStyle(result){void}
modules/core/parametricURL.js, line 486 -
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 112 -
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 380 -
todo
Name Type Description result
* todo -
parseZoomToGeometry(gemometryFromUrl, property){void}
modules/core/parametricURL.js, line 393 -
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 145 -
Delivers the possible parameters that can be specified in the URL.
Returns:
possible URL-parameters.
-
pushToIsInitOpen(value){void}
modules/core/parametricURL.js, line 217 -
todo
Name Type Description value
* todo -
setBrwId(value){void}
modules/core/parametricURL.js, line 576 -
Setter for brwId.
Name Type Description value
String The Id from the groundValue (dt. Bodenrichtwert). -
setBrwLayerName(value){void}
modules/core/parametricURL.js, line 585 -
Setter for brwLayerName.
Name Type Description value
String Brw layer name -
setCenter(coordinate){void}
modules/core/parametricURL.js, line 594 -
Setter for center.
Name Type Description coordinate
String The center-coordinate for the map. -
setClickCounter(value){void}
modules/core/parametricURL.js, line 513 -
Sets the clickCounter staticLink to the Config.
Name Type Description value
* todo -
setFilter(value){void}
modules/core/parametricURL.js, line 603 -
Sets the filter.
Name Type Description value
string Filer values. -
setHighlightfeature(value){void}
modules/core/parametricURL.js, line 612 -
Sets the highlightfeature.
Name Type Description value
* todo -
setInitString(initString){void}
modules/core/parametricURL.js, line 621 -
Sets the highlightfeature.
Name Type Description initString
* todo -
setIsInitOpenArray(value){void}
modules/core/parametricURL.js, line 630 -
Setter for isInitOpen.
Name Type Description value
* todo -
setLayerParams(value){void}
modules/core/parametricURL.js, line 639 -
Setter for layerParams.
Name Type Description value
* todo -
setMarkerFromUrl(coordinate){void}
modules/core/parametricURL.js, line 648 -
Setter for markerFromUrl.
Name Type Description coordinate
String Coordinate for the marker. -
setProjectionFromUrl(value){void}
modules/core/parametricURL.js, line 657 -
Setter for projectionFromUrl.
Name Type Description value
String todo -
setResult(value){void}
modules/core/parametricURL.js, line 667 -
Setter for result.
Name Type Description value
* todo -
setZoomLevel(value){void}
modules/core/parametricURL.js, line 676 -
Setter for zoomLevel.
Name Type Description value
* todo -
setZoomToExtent(value){void}
modules/core/parametricURL.js, line 703 -
Setter for zoomToExtent.
Name Type Description value
* todo -
setZoomToFeatureIds(ids){void}
modules/core/parametricURL.js, line 685 -
Setter for zoomToFeatureIds.
Name Type Description ids
* Feature IDs. -
setZoomToGeometry(value){void}
modules/core/parametricURL.js, line 694 -
Setter for zoomToGeometry.
Name Type Description value
* todo -
toBoolean(value){boolean}
modules/core/parametricURL.js, line 180 -
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 203 -
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 539 -
todo https://gist.github.com/excalq/2961415
Name Type Description key
string Key value
string Value Fires: