Geovisualization Developer's Guide

H.datalens.RawDataProvider. Options

Type Definition Summary

Defines options for RawDataProvider

Type Definition Description

Options for RawDataProvider

Property Details

dataUrl : { string }

The data url to fetch

dataToFeatures : { function( object ) : Array.< H.datalens.RawDataProvider.Feature > } [optional]

Defines how the input data is mapped to an array of GeoJSON features

featuresToRows : { function( Array.< H.datalens.RawDataProvider.Feature > , H.datalens.QueryTileProvider.X , H.datalens.QueryTileProvider.Y , H.datalens.QueryTileProvider.Zoom , H.datalens.RawDataProvider.TileSize , H.datalens.RawDataProvider.Helpers ) : Array.< H.datalens.ObjectLayer.Row > } [optional]

Defines how GeoJSON features on a tile should be mapped to data rows, which are inputs to layers such as ObjectLayer and HeatmapLayer