vue-openlayers-plugin 1.0.94 → 1.0.96

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/types/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { App } from 'vue';
1
2
  import { ColorLike } from 'ol/colorlike';
2
3
  import { Component } from 'vue';
3
4
  import { Coordinate } from 'ol/coordinate';
@@ -16,6 +17,7 @@ import { Layer } from 'ol/layer';
16
17
  import { Map as Map_2 } from 'ol';
17
18
  import { MapManager as MapManager_2 } from '../utils/mapManager';
18
19
  import { Pixel } from 'ol/pixel';
20
+ import { Plugin as Plugin_2 } from 'vue';
19
21
  import { Source } from 'ol/source';
20
22
  import { Style } from 'ol/style';
21
23
  import { UrlFunction } from 'ol/Tile';
@@ -512,17 +514,31 @@ export declare interface CustomApiConfig {
512
514
  responseInterceptor?: (response: any) => any;
513
515
  }
514
516
 
517
+ export declare const CustomDialog: Component;
518
+
515
519
  export declare interface CustomFilterConfig extends LayerFilter {
516
520
  type: FilterType.CUSTOM;
517
521
  filterFunction: (feature: any) => boolean;
518
522
  }
519
523
 
524
+ export declare const CustomOpenlayer: Component;
525
+
520
526
  declare interface CustomPopupConfig extends BasePopupConfig {
521
527
  type: "custom";
522
528
  component: any;
523
529
  props?: Record<string, any> | ((feature: Feature | undefined, coordinate: Coordinate) => Record<string, any>);
524
530
  }
525
531
 
532
+ declare const _default: Plugin_2 & {
533
+ install: typeof install;
534
+ OlMap: typeof OlMap;
535
+ CustomOpenlayer: typeof CustomOpenlayer;
536
+ CustomDialog: typeof CustomDialog;
537
+ EPlusDialog: typeof EPlusDialog;
538
+ SvgIcon: typeof SvgIcon;
539
+ };
540
+ export default _default;
541
+
526
542
  export declare type Drawing = PointDrawing | TextDrawing | PointWithTextDrawing | IconDrawing | LineDrawing | PolygonDrawing | MultiPolygonDrawing | MultiPointDrawing | MultiLineStringDrawing | ImageDrawing | MilitaryDrawing;
527
543
 
528
544
  /**
@@ -1228,6 +1244,8 @@ export declare class DrawingUtils {
1228
1244
  static addOpacityToColor(color: string, opacity: number): string;
1229
1245
  }
1230
1246
 
1247
+ export declare const EPlusDialog: unknown;
1248
+
1231
1249
  declare class EventManager {
1232
1250
  private map;
1233
1251
  private layerManager;
@@ -2166,6 +2184,8 @@ export declare interface ImageStyleConfig extends DrawingStyleConfig {
2166
2184
  maintainAspectRatio?: boolean;
2167
2185
  }
2168
2186
 
2187
+ export declare const install: (app: App) => void;
2188
+
2169
2189
  /**
2170
2190
  * 点样式配置
2171
2191
  */
@@ -5175,6 +5195,22 @@ export declare interface MultiPolygonStyleConfig extends DrawingStyleConfig {
5175
5195
  indexColor?: string;
5176
5196
  }
5177
5197
 
5198
+ export declare const OlBaseLayerSwitcher: Component;
5199
+
5200
+ export declare const OlControlPanel: Component;
5201
+
5202
+ export declare const OlDrawToolbar: Component;
5203
+
5204
+ export declare const OlLegendPanel: Component;
5205
+
5206
+ export declare const OlMap: Component;
5207
+
5208
+ export declare const OlMapContainer: Component;
5209
+
5210
+ export declare const OlMapSearch: Component;
5211
+
5212
+ export declare const OlMapTooltip: Component;
5213
+
5178
5214
  export declare type OpenLayersConfig = MapConfig;
5179
5215
 
5180
5216
  export declare interface PluginAnimation {
@@ -6241,6 +6277,8 @@ export declare enum SpatialFilterType {
6241
6277
  DISJOINT = "disjoint"
6242
6278
  }
6243
6279
 
6280
+ export declare const SvgIcon: Component;
6281
+
6244
6282
  /**
6245
6283
  * 文字标绘类
6246
6284
  * 专门用于在地图上绘制文字标注,支持丰富的文字样式和效果
@@ -6607,6 +6645,8 @@ export declare class VectorTileLayerHandler extends BaseLayer {
6607
6645
  getFeatureProperties(): Record<string, any>[];
6608
6646
  }
6609
6647
 
6648
+ export declare const version: string;
6649
+
6610
6650
  export declare type WFSRequestFilter = {
6611
6651
  type: 'equalTo' | 'like';
6612
6652
  property: string;