All files / si-map/models constants.ts

100% Statements 21/21
100% Branches 0/0
100% Functions 0/0
100% Lines 21/21

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34          3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x         3x   3x   3x   3x 3x 3x 3x  
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
/** */
export const DEFAULT_STROKE_WEIGHT = 2;
export const DEFAULT_CLUSTER_TYPE = 'donut';
export const DEFAULT_DONUT_RATIO = 0.6;
export const ANIMATION_DURATION = 500;
export const DEFAULT_ICON = 'assets/default-marker-icon.svg';
export const DEFAULT_ICON_SCALE = 1;
export const SIEMENS_FONT = 'bold 13px "SiemensSans Pro", sans-serif';
export const SIEMENS_FONT_LABELS = '600 14px "SiemensSans Pro", sans-serif';
export const DEFAULT_OFFSET = 14;
export const DEFAULT_FEATURE_SELECT_ZOOM = 10;
export const DEFAULT_FEATURE_CLICK_ZOOM = 15;
export const DEFAULT_CLUSTER_CLICK_ZOOM = 15;
export const DEFAULT_GLOBAL_ZOOM = 5;
export const DEFAULT_CLUSTER_DISTANCE = 40;
/** @deprecated will be removed in favour of individual inputs. */
export const DEFAULT_FIT_PADDING = [20, 20, 20, 20];
 
/** Updates the amount of buildings to be shown in a cluster tooltip after hovering over it */
export const TOOLTIP_FEATURES_TO_DISPLAY = 4;
/** Specifies the maximum amount of buildings allowed to be displayed as a number in a cluster */
export const MAX_CLUSTER_BUILDINGS = 99;
/** Defines the cluster radius size, so all the clusters are of the same size */
export const CLUSTER_RADIUS_SIZE = 20;
/** Chart inside the cluster is internally divided into 20 fragments */
export const CLUSTER_CHARTS_FRAGMENTS = 20;
export const GEOJSON_LAYER = 'geojson-layer';
export const POINTS_LAYER = 'points-layer';
export const LAYER_NAME = 'layerName';