@siemens/maps-ng 48.0.0-next.5 → 48.0.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,8 +38,8 @@ const DEFAULT_DONUT_RATIO = 0.6;
|
|
|
38
38
|
const ANIMATION_DURATION = 500;
|
|
39
39
|
const DEFAULT_ICON = 'assets/default-marker-icon.svg';
|
|
40
40
|
const DEFAULT_ICON_SCALE = 1;
|
|
41
|
-
const SIEMENS_FONT = 'bold 13px "
|
|
42
|
-
const SIEMENS_FONT_LABELS = '
|
|
41
|
+
const SIEMENS_FONT = 'bold 13px "SiemensSans Pro", sans-serif';
|
|
42
|
+
const SIEMENS_FONT_LABELS = '600 14px "SiemensSans Pro", sans-serif';
|
|
43
43
|
const DEFAULT_OFFSET = 14;
|
|
44
44
|
const DEFAULT_FEATURE_SELECT_ZOOM = 10;
|
|
45
45
|
const DEFAULT_FEATURE_CLICK_ZOOM = 15;
|
|
@@ -657,7 +657,7 @@ class MapService {
|
|
|
657
657
|
* Separate feature styling with icon
|
|
658
658
|
* @param feature - to style
|
|
659
659
|
* @param cluster - indication
|
|
660
|
-
* @param
|
|
660
|
+
* @param features - list of features
|
|
661
661
|
*/
|
|
662
662
|
getFeatureStyle(feature, cluster, features, dummy = false) {
|
|
663
663
|
const subFeatures = feature.getProperties()?.features;
|
|
@@ -943,9 +943,9 @@ class SelectCluster extends Select {
|
|
|
943
943
|
*/
|
|
944
944
|
// Fonts
|
|
945
945
|
// TODO: This is a workaround to disable loading of google fonts.
|
|
946
|
-
const italicFonts = ['
|
|
947
|
-
const regularFonts = ['
|
|
948
|
-
const boldFonts = ['
|
|
946
|
+
const italicFonts = ['SiemensSans Pro', 'sans-serif'];
|
|
947
|
+
const regularFonts = ['SiemensSans Pro', 'sans-serif'];
|
|
948
|
+
const boldFonts = ['SiemensSans Pro', 'sans-serif'];
|
|
949
949
|
// Colors
|
|
950
950
|
const deepBlue900 = 'rgba(32, 33, 50, 1)';
|
|
951
951
|
const green700 = (opacity) => `rgba(28, 112, 63, ${opacity})`;
|