stop leaflet.heat from redrawing on zoom

المشرف العام

Administrator
طاقم الإدارة
I'm working with leaflet.heat, which redraws the heat map based on the zoom level. Best I can tell, it resamples the points within the extent of the map and redraws based on the intensity of the points within that extent.

Is there a way to stop the heat map from redrawing at different zoom levels? For instance, if I load the map initially at zoom level 18, I want the heat map to stay at level 18 as the user zooms in and out (eg: don't resample and redraw).

Here's the sort of functionality I'm talking about wanting: http://www.yelp.com/wordmap/seattle/cocktails



أكثر...
 
أعلى