@markerjs/markerjs3 3.8.1 → 3.9.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/markerjs3.d.ts +42 -0
- package/markerjs3.js +1 -1
- package/markerjs3.js.map +1 -1
- package/package.json +1 -1
- package/umd/markerjs3.js +1 -1
- package/umd/markerjs3.js.map +1 -1
package/markerjs3.d.ts
CHANGED
|
@@ -2240,6 +2240,15 @@ declare class MarkerArea extends HTMLElement {
|
|
|
2240
2240
|
* Sets the current zoom level.
|
|
2241
2241
|
*/
|
|
2242
2242
|
set zoomLevel(value: number);
|
|
2243
|
+
/**
|
|
2244
|
+
* Adjusts the zoom level to fit the image within the container without scrollbars.
|
|
2245
|
+
*
|
|
2246
|
+
* @remarks
|
|
2247
|
+
* - If `autoZoomIn` is true: zooms in when the image is smaller than the container
|
|
2248
|
+
* - If `autoZoomOut` is true: zooms out when the image is larger than the container
|
|
2249
|
+
* - If both are false: does nothing
|
|
2250
|
+
*/
|
|
2251
|
+
autoZoom(): void;
|
|
2243
2252
|
private prevPanPoint;
|
|
2244
2253
|
private panTo;
|
|
2245
2254
|
private undoRedoManager;
|
|
@@ -2267,6 +2276,18 @@ declare class MarkerArea extends HTMLElement {
|
|
|
2267
2276
|
* @since 3.2.0
|
|
2268
2277
|
*/
|
|
2269
2278
|
set defaultFilter(value: string | undefined);
|
|
2279
|
+
private _autoZoomIn;
|
|
2280
|
+
/**
|
|
2281
|
+
* If true, automatically zooms in on smaller images to fit the container.
|
|
2282
|
+
*/
|
|
2283
|
+
get autoZoomIn(): boolean;
|
|
2284
|
+
set autoZoomIn(value: boolean);
|
|
2285
|
+
private _autoZoomOut;
|
|
2286
|
+
/**
|
|
2287
|
+
* If true, automatically zooms out on larger images to fit the container.
|
|
2288
|
+
*/
|
|
2289
|
+
get autoZoomOut(): boolean;
|
|
2290
|
+
set autoZoomOut(value: boolean);
|
|
2270
2291
|
private _defsElement?;
|
|
2271
2292
|
private _defs;
|
|
2272
2293
|
constructor();
|
|
@@ -3261,6 +3282,15 @@ declare class MarkerView extends HTMLElement {
|
|
|
3261
3282
|
* Sets the current zoom level.
|
|
3262
3283
|
*/
|
|
3263
3284
|
set zoomLevel(value: number);
|
|
3285
|
+
/**
|
|
3286
|
+
* Adjusts the zoom level to fit the image within the container without scrollbars.
|
|
3287
|
+
*
|
|
3288
|
+
* @remarks
|
|
3289
|
+
* - If `autoZoomIn` is true: zooms in when the image is smaller than the container
|
|
3290
|
+
* - If `autoZoomOut` is true: zooms out when the image is larger than the container
|
|
3291
|
+
* - If both are false: does nothing
|
|
3292
|
+
*/
|
|
3293
|
+
autoZoom(): void;
|
|
3264
3294
|
private _defaultFilter?;
|
|
3265
3295
|
/**
|
|
3266
3296
|
* Returns the default SVG filter for the created markers.
|
|
@@ -3275,6 +3305,18 @@ declare class MarkerView extends HTMLElement {
|
|
|
3275
3305
|
* @since 3.2.0
|
|
3276
3306
|
*/
|
|
3277
3307
|
set defaultFilter(value: string | undefined);
|
|
3308
|
+
private _autoZoomIn;
|
|
3309
|
+
/**
|
|
3310
|
+
* If true, automatically zooms in on smaller images to fit the container.
|
|
3311
|
+
*/
|
|
3312
|
+
get autoZoomIn(): boolean;
|
|
3313
|
+
set autoZoomIn(value: boolean);
|
|
3314
|
+
private _autoZoomOut;
|
|
3315
|
+
/**
|
|
3316
|
+
* If true, automatically zooms out on larger images to fit the container.
|
|
3317
|
+
*/
|
|
3318
|
+
get autoZoomOut(): boolean;
|
|
3319
|
+
set autoZoomOut(value: boolean);
|
|
3278
3320
|
private _isInitialized;
|
|
3279
3321
|
private _defsElement?;
|
|
3280
3322
|
private _defs;
|