public class

OfflineNMLModelLODTreeDataSource

extends NMLModelLODTreeDataSource
java.lang.Object
   ↳ com.carto.datasources.NMLModelLODTreeDataSource
     ↳ com.carto.datasources.OfflineNMLModelLODTreeDataSource

Class Overview

A sqlite database based data source for NML model LOD trees. The database must be created using
custom toolkit from Carto that supports several input formats like KMZ or GeoJSON.

Summary

Public Constructors
OfflineNMLModelLODTreeDataSource(String path)
Constructs a OfflineNMLModelLODTreeDataSource object.
Public Methods
synchronized void delete()
MapBounds getDataExtent()
Returns the extent of the models in this data source.
[Expand]
Inherited Methods
From class com.carto.datasources.NMLModelLODTreeDataSource
From class java.lang.Object

Public Constructors

public OfflineNMLModelLODTreeDataSource (String path)

Constructs a OfflineNMLModelLODTreeDataSource object.

Parameters
path The path to the sqlite database file.
Throws
Exception If the file could not be opened.
IOException

Public Methods

public synchronized void delete ()

public MapBounds getDataExtent ()

Returns the extent of the models in this data source.
The bounds are in coordinate system of the projection of the data source.

Returns
  • The extent of the models in this data source.