@mapcreator/sdk 0.0.0-label-collision.0 → 0.0.0-preload.0
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/dist/MCMap.d.ts +1 -0
- package/dist/Video.d.ts +1 -0
- package/dist/mapcreator-sdk.css +1 -1
- package/dist/mapcreator-sdk.js +26 -16
- package/dist/mapcreator-sdk.umd.cjs +2 -2
- package/dist/report.html +1 -1
- package/dist/types/jobObject.d.ts +5 -8
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export type JobObject = {
|
|
|
31
31
|
layerInfo?: Optional<Array<{
|
|
32
32
|
id: string;
|
|
33
33
|
visibility: boolean;
|
|
34
|
-
opacity
|
|
34
|
+
opacity: Optional<number>;
|
|
35
35
|
}>>;
|
|
36
36
|
overlays?: Optional<number[]>;
|
|
37
37
|
projection?: Optional<'mercator' | 'globe'>;
|
|
@@ -70,7 +70,6 @@ export type JobObjectModels = {
|
|
|
70
70
|
marker?: Optional<JobObjectMarkerGroup[]>;
|
|
71
71
|
polygon?: Optional<JobObjectPolygonGroup[]>;
|
|
72
72
|
};
|
|
73
|
-
export type JobObjectJustify = 'left' | 'center' | 'right';
|
|
74
73
|
export type PopupPosition = 'bottomLeft' | 'mapElement';
|
|
75
74
|
type Optional<T> = T | undefined;
|
|
76
75
|
type JobObjectGroupType = JobObjectArea | JobObjectCircle | JobObjectDot | JobObjectLine | JobObjectMarker | JobObjectPolygon;
|
|
@@ -101,7 +100,6 @@ export type JobObjectMarkerGroup = JobObjectGroupBase<JobObjectMarker> & {
|
|
|
101
100
|
textColor?: Optional<string>;
|
|
102
101
|
textHaloColor?: Optional<string>;
|
|
103
102
|
collisionDetection?: Optional<boolean>;
|
|
104
|
-
labelCollisionDetection?: Optional<boolean>;
|
|
105
103
|
clustering?: Optional<boolean>;
|
|
106
104
|
clusterMaxZoom?: Optional<number>;
|
|
107
105
|
clusterRadius?: Optional<number>;
|
|
@@ -142,7 +140,6 @@ export type JobObjectNorthArrow = {
|
|
|
142
140
|
position: AdornmentPosition;
|
|
143
141
|
stacking?: Optional<Orientation>;
|
|
144
142
|
scale?: Optional<number>;
|
|
145
|
-
svgString?: Optional<string>;
|
|
146
143
|
};
|
|
147
144
|
export type JobObjectScalebar = {
|
|
148
145
|
type: 'scalebar';
|
|
@@ -155,7 +152,6 @@ export type JobObjectScalebar = {
|
|
|
155
152
|
fontSize?: Optional<number>;
|
|
156
153
|
maxWidth?: Optional<number>;
|
|
157
154
|
unit?: Optional<ScalebarUnit>;
|
|
158
|
-
svgString?: Optional<string>;
|
|
159
155
|
};
|
|
160
156
|
export type JobObjectWebControls = {
|
|
161
157
|
type: 'webControls';
|
|
@@ -198,12 +194,12 @@ export type JobObjectHeading = {
|
|
|
198
194
|
titleColor?: Optional<string>;
|
|
199
195
|
titleFont?: Optional<string>;
|
|
200
196
|
titleFontSize?: Optional<number>;
|
|
201
|
-
titleJustify?: Optional<
|
|
197
|
+
titleJustify?: Optional<string>;
|
|
202
198
|
subtitle: string;
|
|
203
199
|
subtitleColor?: Optional<string>;
|
|
204
200
|
subtitleFont?: Optional<string>;
|
|
205
201
|
subtitleFontSize?: Optional<number>;
|
|
206
|
-
subtitleJustify?: Optional<
|
|
202
|
+
subtitleJustify?: Optional<string>;
|
|
207
203
|
background?: Optional<string>;
|
|
208
204
|
showBackground?: Optional<boolean>;
|
|
209
205
|
};
|
|
@@ -265,6 +261,7 @@ export type JobObjectLine = {
|
|
|
265
261
|
lineColor?: Optional<string>;
|
|
266
262
|
lineStyle?: Optional<'solid' | 'dashed' | 'dotted'>;
|
|
267
263
|
lineType?: Optional<'line' | 'route'>;
|
|
264
|
+
lineDashArray?: Optional<number[]>;
|
|
268
265
|
transportType?: Optional<'car' | 'bicycle' | 'pedestrian'>;
|
|
269
266
|
smoothness?: Optional<number>;
|
|
270
267
|
svg?: Optional<string>;
|
|
@@ -354,7 +351,7 @@ export type JobObjectMarker = {
|
|
|
354
351
|
textAnchor?: Optional<Anchor>;
|
|
355
352
|
textLineHeight?: Optional<number>;
|
|
356
353
|
textLetterSpacing?: Optional<number>;
|
|
357
|
-
textJustify?: Optional<
|
|
354
|
+
textJustify?: Optional<'left' | 'center' | 'right'>;
|
|
358
355
|
textRotation?: Optional<number>;
|
|
359
356
|
textOffset?: Optional<[number, number]>;
|
|
360
357
|
textColor?: Optional<string>;
|