Demos

Explore interactive demos to see our features in action. Try them out and discover how they can work for you.

Remove Map Spacing

Explore an example of a Heat.js instance configured to hide the spacing in the 'map' view.

Include Files

Make sure you include the following files:

<link rel="stylesheet" href="dist/heat.js.min.css">
<script src="dist/heat.min.js"></script>

Create DOM Element

Add a new DOM element to house the Heat.js instance:

<div id="heat-map" id="heat-map" data-heat-js="getBindingOptions()"></div>

Add a new JavaScript function to return to binding options:

function getBindingOptions() {
    return {
        "views": {
            "map": {
                "showMonthDayGaps": false,
                "showSpacing": false,
            },
        },
    };
}

Result