@maptalks/vt 0.101.1 → 0.102.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/maptalks.vt.d.ts +5 -33
- package/dist/maptalks.vt.es.js +11690 -9521
- package/dist/maptalks.vt.es.js.map +1 -1
- package/dist/maptalks.vt.js +13581 -11207
- package/dist/maptalks.vt.js.map +1 -1
- package/package.json +4 -4
package/dist/maptalks.vt.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @maptalks/vt v0.
|
|
2
|
+
* @maptalks/vt v0.102.0
|
|
3
3
|
* LICENSE : undefined
|
|
4
4
|
* (c) 2016-2024 maptalks.org
|
|
5
5
|
*/
|
|
@@ -454,6 +454,8 @@ type VectorTileLayerOptionsType = {
|
|
|
454
454
|
featureIdProperty?: string;
|
|
455
455
|
currentTilesFirst?: true;
|
|
456
456
|
style?: any;
|
|
457
|
+
altitudePropertyName?: string;
|
|
458
|
+
disableAltitudeWarning?: boolean;
|
|
457
459
|
} & TileLayerOptionsType;
|
|
458
460
|
type AsyncFeatureQueryOptions = {
|
|
459
461
|
countPerTime?: number;
|
|
@@ -576,36 +578,6 @@ declare class LRUCache {
|
|
|
576
578
|
}
|
|
577
579
|
//# sourceMappingURL=LRUCache.d.ts.map
|
|
578
580
|
|
|
579
|
-
declare class GlyphRequestor {
|
|
580
|
-
constructor(framer: any, limit: number, isCompactChars: any, sdfURL: any);
|
|
581
|
-
entries: {};
|
|
582
|
-
_cachedFont: {};
|
|
583
|
-
_cache: LRUCache;
|
|
584
|
-
_framer: any;
|
|
585
|
-
_limit: number;
|
|
586
|
-
_isCompactChars: any;
|
|
587
|
-
_sdfURL: any;
|
|
588
|
-
_isValidSDFURL(url: any): boolean;
|
|
589
|
-
getGlyphs(glyphs: any, cb: any): void;
|
|
590
|
-
_requestRemoteSDF(glyphs: any, cb: any): void;
|
|
591
|
-
_requestGlyph(): Promise<any>;
|
|
592
|
-
_tinySDF(entry: any, fonts: any, charCode: any, isCharsCompact: any): {
|
|
593
|
-
charCode: any;
|
|
594
|
-
bitmap: {
|
|
595
|
-
width: number;
|
|
596
|
-
height: number;
|
|
597
|
-
data: any;
|
|
598
|
-
};
|
|
599
|
-
metrics: {
|
|
600
|
-
width: number;
|
|
601
|
-
height: number;
|
|
602
|
-
left: number;
|
|
603
|
-
top: number;
|
|
604
|
-
advance: number;
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
|
|
609
581
|
declare class IconRequestor {
|
|
610
582
|
constructor(options: any);
|
|
611
583
|
options: any;
|
|
@@ -662,7 +634,7 @@ declare class WorkerConnection extends WorkerConnection_base {
|
|
|
662
634
|
_isDedicated: boolean;
|
|
663
635
|
_dedicatedVTWorkers: {};
|
|
664
636
|
_iconRequestor: IconRequestor;
|
|
665
|
-
_glyphRequestor:
|
|
637
|
+
_glyphRequestor: any;
|
|
666
638
|
initialize(cb: any): void;
|
|
667
639
|
addLayer(cb: any): void;
|
|
668
640
|
abortTile(url: any, cb: any): void;
|
|
@@ -822,7 +794,7 @@ declare class VectorTileLayerRenderer extends maptalks.renderer.TileLayerCanvasR
|
|
|
822
794
|
_endFrame(timestamp: any): void;
|
|
823
795
|
getPolygonOffsetCount(): number;
|
|
824
796
|
_drawDebug(): void;
|
|
825
|
-
_isVisitable(plugin: any): true | 1 |
|
|
797
|
+
_isVisitable(plugin: any): true | 1 | 0 | 2;
|
|
826
798
|
_getPluginContext(plugin: any, polygonOffsetIndex: any, cameraPosition: any, timestamp: any): {
|
|
827
799
|
regl: any;
|
|
828
800
|
layer: any;
|