Screen Shot 2023-03-15 at 10.29.52.png

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

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-mapbox.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://api.tiles.mapbox.com/mapbox-gl-js/v1.2.0/mapbox-gl.js>"></script>

Configuration

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