If you already have an existing Leaflet map, the Map Layers for Leaflet will add to that map the AVUXI heatmap layers.

Screenshot 2023-11-17 at 17.45.16.png

Integration

To integrate the widget you first need to load the base code into your page:

<script src="<https://scripts.avuxi.com/travel/map-layers/latest/map-layers-for-leaflet.js>"></script>

As a minimum, you will require to specify the location and your AVUXI key from the dashboard site. Then execute the code, for example by using:

<script src='<https://unpkg.com/[email protected]/dist/leaflet.js>'></script>

Configuration

You can further configure the map enhancer by specifying optional settings: