@navaramap/core 0.0.0 → 0.0.2
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/index.d.ts +7 -2
- package/dist/index.js +489 -485
- package/dist/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/src/event/EventManager.ts +3 -3
- package/src/event/mock.ts +1 -3
- package/src/globe/Globe.ts +12 -2
- package/src/id.ts +8 -1
- package/src/types/utils.ts +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -227,6 +227,11 @@ export declare type FeatureSetId = bigint;
|
|
|
227
227
|
|
|
228
228
|
export declare function generate_id_from_entity(entity: EntityEvent): string;
|
|
229
229
|
|
|
230
|
+
/** Same id as {@link generate_id_from_entity} for callers that carry the entity
|
|
231
|
+
* index/generation as plain numbers (e.g. `RasterTileState`'s fragment fields)
|
|
232
|
+
* instead of an `EntityEvent` instance. */
|
|
233
|
+
export declare function generate_id_from_ind_gen(ind: number, gen: number): string;
|
|
234
|
+
|
|
230
235
|
declare type GetJsEventValue<K extends JsEventsKey> = EventsStacks[K] extends unknown[] ? EventsStacks[K][number] : EventsStacks[K];
|
|
231
236
|
|
|
232
237
|
/**
|
|
@@ -235,7 +240,7 @@ declare type GetJsEventValue<K extends JsEventsKey> = EventsStacks[K] extends un
|
|
|
235
240
|
* Provides an interface for accessing and modifying globe properties
|
|
236
241
|
* that are shared across different material types (VectorTile, RasterTile, RasterTerrain).
|
|
237
242
|
*/
|
|
238
|
-
export declare class Globe implements Omit<RemoveFreeRecursively<Globe_2>, "elevationColormap" | "color"> {
|
|
243
|
+
export declare class Globe implements Omit<RemoveFreeRecursively<Globe_2>, "elevationColormap" | "color" | "isGeographicTiling"> {
|
|
239
244
|
private handler;
|
|
240
245
|
private _elevationColormap?;
|
|
241
246
|
constructor(handler: GlobeHandler, options?: GlobeOptions);
|
|
@@ -285,7 +290,7 @@ export declare type GlobeHandler = {
|
|
|
285
290
|
setElevationColormap: (value: ColorMap) => void;
|
|
286
291
|
};
|
|
287
292
|
|
|
288
|
-
export declare type GlobeOptions = Partial<Omit<Globe_2, "constructor" | "free" | "elevationColormap" | "color">> & {
|
|
293
|
+
export declare type GlobeOptions = Partial<Omit<Globe_2, "constructor" | "free" | "elevationColormap" | "color" | "isGeographicTiling">> & {
|
|
289
294
|
elevationColormap?: ColorMap;
|
|
290
295
|
color?: Color;
|
|
291
296
|
};
|