tprebs / fluttermap_heatmap

Heatmap plugin for flutter_map
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

Adds a tileDisplay param to override default fade-in behaviour #10

Closed leewrigg closed 1 year ago

leewrigg commented 1 year ago

Hi @tprebs - hope you're well!

Our requirements are for the heatmap layer to appear instantaneously rather than using the TileLayer's 100ms fadeIn delay, as we update heatmap data regularly.

This PR adds a new tileDisplay parameter, so that this default behaviour can be changed.

If a tileData value is not provided, it will default to TileDisplay.fadeIn() which is the current default behaviour, so anyone who doesn't provide this will see no change in functionality.

tprebs commented 1 year ago

Thanks @leewrigg 👍

tprebs commented 1 year ago

Now available in release 0.0.4+2