Angular service

LayerDistancesService source

Description

Access to inter-layer association distances.

Methods

getDistance (layer1, layer2) -> double

Get the inter-association distance between two layers

Example

Input:
- layer1
 "el1"
- layer2
 "el2"
Output:
 0.5

Parameters

NameTypeDescription
layer1 string

fieldId of the first layer

layer2 string

fieldId of the second layer

Returns

TypeDescription
double

distance (0 - 1)