问题描述:

For the marke we can use tooltip like this

L.marker([51.5, -0.09]).addTo(map)

.bindPopup('Hi i'm tooltip')

.openPopup();

i want to use tooltip for heat layer

var heat =

L.heatLayer([[50.5, 30.5, 0.2], [50.6, 30.4, 0.5],],

{

radius: 25

}).addTo(map).bindPopup('intenisty value').openPopup();

this option not available in leaflet so is there any way on mouse over i can show the intenisty value of that point.

i tried this

but got h337 not found

MY CODE IS HERE

on mouse over of the red layered points or at any points i should be able to show the intensity value corresponds to that point

相关阅读:
Top