# PointMarkerLayer
The PointMarkerLayer allows you to add style to a marker type element.
API Reference
# Type
The PointMarkerLayer is of the type marker.
# Example
// style it with a moving point marker
let pointMarkerLayer = new PointMarkerLayer({
dataSourceId: gpsDataSource.id,
getLocation: (rec) => ({
x: rec.location.lon,
y: rec.location.lat,
z: rec.location.alt
}),
icon: './images/car-location.png',
iconSize: [32, 64],
iconAnchor: [16, 65],
name: 'Car',
description: 'GPS car Toulouse'
});
← General PolylineLayer →