The Scatterplot Layer takes in paired latitude and longitude coordinated points and renders them as circles with a certain radius.
import {ScatterplotLayer} from 'deck.gl';
Inherits from all Base Layer properties.
- Default:
1
Width of stroke if drawing outline.
- Default:
false
Only draw outline of dot.
- Default:
30
Global radius across all markers.
- Default:
object => object.position
Method called to retrieve the position of each object.
- Default:
object => object.radius
Method called to retrieve the radius of each object.
- Default:
object => object.color
Method called to retrieve the rgba color of each object. If the alpha parameter
is not provided, it will be set to 255.
If the method does not return a value for the given object, fallback to
[255, 0, 255, 255].