@equinor/videx-map
Advanced tools
Comparing version 1.12.0 to 1.12.2
@@ -41,2 +41,3 @@ import * as PIXI from 'pixi.js'; | ||
constructor(config?: InputConfig); | ||
destroy(): void; | ||
/** | ||
@@ -43,0 +44,0 @@ * Set collection of faultlines to display. Clears previous content on execution. |
@@ -5,4 +5,8 @@ import * as PIXI from 'pixi.js'; | ||
import { EventHandler } from '../EventHandler'; | ||
import { GeoJSONMultiPolygon, GeoJSONPolygon, GeoJSONLineString, GeoJSONPoint, FeatureProps } from '.'; | ||
import { default as GeoJSONMultiPolygon } from './multipolygon'; | ||
import { default as GeoJSONPolygon } from './polygon'; | ||
import { default as GeoJSONLineString } from './linestring'; | ||
import { default as GeoJSONPoint } from './point'; | ||
import { ResizeConfig, LabelResizeConfig } from '../ResizeConfigInterface'; | ||
import { FeatureProps } from './interfaces'; | ||
/** Interface for config. */ | ||
@@ -9,0 +13,0 @@ interface Config { |
@@ -6,16 +6,2 @@ export { default as GeoJSONMultiPolygon } from './multipolygon'; | ||
export { default as GeoJSONModule } from './GeoJSONModule'; | ||
export interface FeatureStyle { | ||
lineColor: string; | ||
lineWidth: number; | ||
fillColor?: string; | ||
fillColor2?: string; | ||
fillOpacity?: number; | ||
hashed?: boolean; | ||
labelScale?: number; | ||
} | ||
export interface FeatureProps { | ||
id: number; | ||
label: string; | ||
style: FeatureStyle; | ||
additionalData?: any; | ||
} | ||
export * from './interfaces'; |
@@ -13,2 +13,3 @@ import { pixiOverlayBase } from './pixiOverlayInterfaces'; | ||
constructor(); | ||
destroy(): void; | ||
/** Toggle the visibility of the root PIXI container. */ | ||
@@ -15,0 +16,0 @@ toggle(): void; |
@@ -17,3 +17,3 @@ /// <reference types="node" /> | ||
/** Dictionary with intervals */ | ||
intervals: { | ||
timers: { | ||
[key: string]: NodeJS.Timeout; | ||
@@ -25,4 +25,5 @@ }; | ||
* @param config Configurations for asynchronous loop. | ||
* @param interval Configurations interval between batches | ||
*/ | ||
Start(key: string, config: Config): void; | ||
Start(key: string, config: Config, interval?: number): void; | ||
/** | ||
@@ -29,0 +30,0 @@ * Stop a single loop |
@@ -13,3 +13,3 @@ import { WellboreEventData } from "./data"; | ||
scale: number; | ||
/** Amount of wellbores per batch. (Default: 25) */ | ||
/** Amount of wellbores per batch. (Default: 20) */ | ||
batchSize: number; | ||
@@ -16,0 +16,0 @@ /** Origin zoom level, i.e. where input for scaling function is 0. (Default: 0) */ |
@@ -34,2 +34,3 @@ import * as PIXI from 'pixi.js'; | ||
constructor(inputConfig?: InputConfig); | ||
destroy(): void; | ||
registerGroup(key: string, options?: GroupOptions): void; | ||
@@ -43,3 +44,3 @@ private addRoot; | ||
addWellbore(data: SourceData, group?: Group): void; | ||
set(wells: SourceData[], key?: string): Promise<void>; | ||
set(wells: SourceData[], key?: string, batchSize?: number): Promise<void>; | ||
private forEachGroup; | ||
@@ -46,0 +47,0 @@ private setActive; |
{ | ||
"name": "@equinor/videx-map", | ||
"version": "1.12.0", | ||
"version": "1.12.2", | ||
"description": "Component for Pixi-overlay in Leaflet.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
393730
58
3137