Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCRender::clearIndexDB

Chapter 06.46 / 07Manual version v0.6.4English

Clears the cached data in the IndexedDB database.

Version Requirement

SDK v0.5.0+

Engine Support

Three.js / CesiumJS

API

LCCRender::clearIndexDB(): void

Parameters

None

Return Value

void

Usage Example

// Load lcc model
const lccObject = LCCRender.load({
    // Refer to load API for parameters
});

// Clear cached data in IndexedDB
LCCRender.clearIndexDB();

Notes

  • This method must be called after the success callback of LCCRender.load() has been triggered.
  • When data caching is enabled (useIndexDB: true), LCC data is cached in the browser's IndexedDB. Call this method when you need to clear the cache.
  • LCCRender::load()

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804