Each dotAtlas JavaScript API example demonstrates one specific functionality of dotAtlas.
All the example code is licensed under Apache Software License 2.0, feel free to adjust and copy to your code base as needed.
Displaying your first dotAtlas map with just a few lines of JavaScript:
Customizing the properties of markers on your map, including color, shape, size and opacity.
Controlling label opacity and the color of label boxes, setting label display priorities so that the most important labels show at lower zoom levels.
Controlling properties of different dotAtlas layers, including:
Detecting and drawing hover and selection highlights:
Zooming to reveal the location of specific markers or labels on the map.
Changing colors, sizes, shapes and elevations of existing markers without reloading the whole data set.
Tweaking the options of dotAtlas and of its layers on a live map, with sample data sets and presets, and exporting the result as JavaScript code.
The glyph atlas on a large synthetic label set, with SDF rendering opted in for crisp scaling and per-label outlines, atlas-quality tiers and edge controls.
Adding a color band legend to the map, reading elevation values at specific coordinates of the map.
Converting Lingo4G analysis result containing document embedding and document clusters to a dotAtlas map, where each marker represents one document.
Using dotAtlas to efficiently visualize more than 1 million data points.