Members
-
datastore :DataStore
-
Description
DataStore object used to compute geometry -
datastore :DataStore
-
Description
DataStore object used to compute geometry -
maxSelectionDistance :number
-
Description
Max distance nearest neighbor search in kmDetails
-
maxSelectionDistance :number
-
Description
Max distance nearest neighbor search in kmDetails
-
maxSelectionCount :number
-
Description
Max number of nearest neighborsDetails
-
maxSelectionCount :number
-
Description
Max number of nearest neighborsDetails
-
maxDataPoints :number
-
Description
Max number of datapoints per bufferDetails
-
dataPointCount :number
-
Description
Current number of datapoints -
_resourceLoaded :boolean
-
Description
Have resources been loaded -
_resourceLoaded :boolean
-
Description
Have resources been loaded -
_isDirty :boolean
-
Description
Has current data been uploaded to webgl context -
_isDirty :boolean
-
Description
Has current data been uploaded to webgl context -
_hasGeometry :boolean
-
Description
Has any data been uploaded to webgl context -
_hasGeometry :boolean
-
Description
Has any data been uploaded to webgl context -
useTexture :bool
-
Description
Should the points sample from a textureDetails
-
createEmptyVertices
-
Description
Creates empty buffers with defined size -
extendVerticesBy
-
Description
Extend current buffersParameters
Name Type Description size
number amount to extend buffers by -
createCollisionGeo
-
Description
Unused function, required by drawable interface -
update
-
Description
Update uniforms for drawParameters
Name Type Description gl
WebglContext WebglContext sceneProps
Object Object of scene uniforms time
number frametime -
rayCastFrom
-
Description
Ray cast to points objectParameters
Name Type Description ray
Object worldspace ray to cast Returns
-
hitTest
-
Description
Hit test to points objectParameters
Name Type Description ray
Object worldspace ray to test Returns
-
onSelectionCB
-
Description
Callback fired when point(s) get selectedParameters
Name Type Description selection
Object mutable list of points that got selected Returns
-
onSelection
-
Description
Hit test to points objectParameters
Name Type Description ray
Object worldspace ray to test Returns
-
transform
-
Description
Mutate point by a data elementParameters
Name Type Description element
Object data element to mutate point with point
Object single point drawable description Returns
-
addGeojson
-
Description
Add points using geojson formatParameters
Name Type Description geojson
Object Geojson data onAdd
function callback to fire when added -
addDataPoint
-
Description
Add datapoint using datastore formatParameters
Name Type Description dataPoint
Object data in datastore format onAdd
function callback to fire when added -
updatePoint
-
Description
Updates point geometry in place. Note: position is in world space, color is in normalized RGBA, size is in pixelsParameters
Name Type Description dataPoint
Object data index in datastore params
Object point parameters object with updated position, color, or size -
getNearest
-
Description
Get nearest points to targetParameters
Name Type Description lat
number target latitude lon
number target longitude Returns
Methods
-
init( gl )
-
Description
Initialize geometry & shaders in Webgl contextParameters
Name Type Description gl
WebGLContext WebGL context -
draw( gl )
-
Description
Renders to the webgl contextParameters
Name Type Description gl
Webgl Webgl context