Skip to content

Commit

Permalink
Updates to also allow the ESRI layer from arcgiscore directly (#244)
Browse files Browse the repository at this point in the history
* updates to also aloow the ESRI layer from arcgiscore directly

* Update index.d.ts

Co-authored-by: Shailesh Gavathe <shailesh.gavathe@asetpartners.com>
  • Loading branch information
sgavathe and Shailesh Gavathe authored Apr 14, 2022
1 parent 3310aba commit bfc7df8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions deck.gl__arcgis/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,25 @@ declare module '@deck.gl/arcgis/deck-renderer' {
export default function createDeckRenderer(DeckProps: any, externalRenderers: any): IDeckRenderer;
}
declare module '@deck.gl/arcgis' {
export function loadArcGISModules(modules: any, loadScriptOptions: any): Promise<any>;
}
export function loadArcGISModules(modules: any, loadScriptOptions: any): Promise<any>;
export class DeckLayer {
constructor(gl: any);
setProps(props: any): void;
renderLayers(opts: any): void;
needsRedraw(opts?: { clearRedrawFlags: boolean }): any;
finalize(): void;
_preRender(effects: any, opts: any): void;
_resizeRenderBuffers(): void;
_postRender(effects: any, opts: any): void;
}
export class DeckRenderer {
constructor(gl: any);
setProps(props: any): void;
renderLayers(opts: any): void;
needsRedraw(opts?: { clearRedrawFlags: boolean }): any;
finalize(): void;
_preRender(effects: any, opts: any): void;
_resizeRenderBuffers(): void;
_postRender(effects: any, opts: any): void;
}
}

0 comments on commit bfc7df8

Please sign in to comment.