Namespace: RemoteInterface

RemoteInterface

Represents the remote interface of the masterportal.

Classes

RadioMasterportalAPI

Events

RadioRequestCRSGetProjection

devtools/jsdoc/events.js, line 2246
Returns the proj4 projection definition for a registered name.
Name Type Description
name string projection name as written in [0] position of namedProjections
Listeners of This Event:

RadioRequestCRSGetProjections

devtools/jsdoc/events.js, line 2252
Returns all known projections.
Name Type Description
map ol.Map map to project to
sourceProjection string | object projection name or projection of point
point Array.<number> point to project
Listeners of This Event:

RadioRequestCRSTransform

devtools/jsdoc/events.js, line 2276
Transforms a given point from a source to a target projection.
Name Type Description
sourceProjection string | object projection name or projection of point
targetProjection string | object projection name or projection to project point to
point Array.<number> point to project
Listeners of This Event:

RadioRequestCRSTransformFromMapProjection

devtools/jsdoc/events.js, line 2268
Projects a point from the given map.
Name Type Description
map ol.Map map to project from, and point must be in map's projection
targetProjection string | object projection name or projection to project to
point Array.<number> point to project
Listeners of This Event:

RadioRequestCRSTransformToMapProjection

devtools/jsdoc/events.js, line 2260
Projects a point to the given map.
Name Type Description
map ol.Map map to project to
sourceProjection string | object projection name or projection of point
point Array.<number> point to project
Listeners of This Event:

RadioRequestRawLayerListGetDisplayNamesOfFeatureAttributes

devtools/jsdoc/events.js, line 2307
Returns display names map for a layer, or display name for a specific attribute.
Name Type Description
layerId string if of layer to fetch display names for
featureAttribute string optional if given, only one entry of map is returned
Listeners of This Event:

RadioRequestRawLayerListGetLayerAttributesWhere

devtools/jsdoc/events.js, line 2290
Returns the first entry in layerList matching the given searchAttributes.
Name Type Description
searchAttributes object key/value-pairs to be searched for, e.g. { typ: "WMS" } to get the first WMS
Listeners of This Event:

RadioRequestRawLayerListGetLayerList

devtools/jsdoc/events.js, line 2302
Returns complete layerList as initialized.
Listeners of This Event:

RadioRequestRawLayerListGetLayerListWhere

devtools/jsdoc/events.js, line 2296
Returns an array of all models that match the given attributes.
Name Type Description
searchAttributes Object key/value-pairs to be searched for, e.g. { typ: "WMS" } to get the first WMS
Listeners of This Event:

RadioRequestRawLayerListGetLayerWhere

devtools/jsdoc/events.js, line 2284
Returns the first entry in layerList matching the given searchAttributes.
Name Type Description
searchAttributes object key/value-pairs to be searched for, e.g. { typ: "WMS" } to get the first WMS
Listeners of This Event:

RadioTriggerRemoteInterfacePostMessage

devtools/jsdoc/events.js, line 1708
Triggers a PostMessage to the RemoteInterface
Example
Radio.trigger("RemoteInterface", "postMessage", {"allFeatures": JSON.stringify("..."), "layerId": 1711});