@siemens/maps-ng 48.0.0-next.5 → 48.0.0-next.6
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.
package/index.d.ts
CHANGED
|
@@ -159,8 +159,8 @@ declare const DEFAULT_DONUT_RATIO = 0.6;
|
|
|
159
159
|
declare const ANIMATION_DURATION = 500;
|
|
160
160
|
declare const DEFAULT_ICON = "assets/default-marker-icon.svg";
|
|
161
161
|
declare const DEFAULT_ICON_SCALE = 1;
|
|
162
|
-
declare const SIEMENS_FONT = "bold 13px \"
|
|
163
|
-
declare const SIEMENS_FONT_LABELS = "
|
|
162
|
+
declare const SIEMENS_FONT = "bold 13px \"SiemensSans Pro\", sans-serif";
|
|
163
|
+
declare const SIEMENS_FONT_LABELS = "600 14px \"SiemensSans Pro\", sans-serif";
|
|
164
164
|
declare const DEFAULT_OFFSET = 14;
|
|
165
165
|
declare const DEFAULT_FEATURE_SELECT_ZOOM = 10;
|
|
166
166
|
declare const DEFAULT_FEATURE_CLICK_ZOOM = 15;
|
|
@@ -284,7 +284,7 @@ declare class MapService {
|
|
|
284
284
|
* Separate feature styling with icon
|
|
285
285
|
* @param feature - to style
|
|
286
286
|
* @param cluster - indication
|
|
287
|
-
* @param
|
|
287
|
+
* @param features - list of features
|
|
288
288
|
*/
|
|
289
289
|
getFeatureStyle(feature: Feature, cluster: boolean, features: Feature[], dummy?: boolean): Style[];
|
|
290
290
|
getLabelStyle(feature: Feature<Point>, features: Feature<Point>[], maxLabelLength: number, maxLines: number, clusterSource?: Cluster<Feature<Point>>, dummy?: boolean): Style[];
|
|
@@ -634,7 +634,7 @@ declare class SiMapComponent implements AfterViewInit, OnChanges, OnDestroy, Aft
|
|
|
634
634
|
* On feature hovering show tooltip and change cursor style
|
|
635
635
|
* @param event - A hovering event
|
|
636
636
|
*/
|
|
637
|
-
onFeatureHover(event: MapBrowserEvent
|
|
637
|
+
onFeatureHover(event: MapBrowserEvent): void;
|
|
638
638
|
/** Display tooltip on hovering over feature type of Feature. */
|
|
639
639
|
displayTooltip(feats: FeatureLike[]): void;
|
|
640
640
|
private doShowTooltip;
|
|
@@ -642,7 +642,7 @@ declare class SiMapComponent implements AfterViewInit, OnChanges, OnDestroy, Aft
|
|
|
642
642
|
* Clicking on cluster event
|
|
643
643
|
* @param event - openlayers event
|
|
644
644
|
*/
|
|
645
|
-
onClusterClick(event: MapBrowserEvent
|
|
645
|
+
onClusterClick(event: MapBrowserEvent): void;
|
|
646
646
|
private emitSelection;
|
|
647
647
|
/**
|
|
648
648
|
* Zoom to cluster features
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@siemens/maps-ng",
|
|
3
3
|
"description": "Element maps library based on OpenLayers.",
|
|
4
|
-
"version": "48.0.0-next.
|
|
4
|
+
"version": "48.0.0-next.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": "20",
|
|
22
22
|
"@angular/core": "20",
|
|
23
|
-
"ol": "~10.
|
|
23
|
+
"ol": "~10.6.0",
|
|
24
24
|
"ol-ext": "^4.0.24",
|
|
25
|
-
"ol-mapbox-style": "^
|
|
26
|
-
"@siemens/element-translate-ng": "48.0.0-next.
|
|
25
|
+
"ol-mapbox-style": "^13.1.0",
|
|
26
|
+
"@siemens/element-translate-ng": "48.0.0-next.6"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
"./docs.json": {
|