Scans the DOM for elements with data-ai-* attributes and returns markers
Optional
Optional DOM root element to scan (defaults to document.body)
Array of Marker objects found in the DOM
const markers = getMarkers();// Scans document.body for data-ai-* attributes Copy
const markers = getMarkers();// Scans document.body for data-ai-* attributes
Scans the DOM for elements with data-ai-* attributes and returns markers