I'm working on a custom interface.
i am using a leaflet prune cluster plugin.
I need to leave the popup always activated as a layer.
can someone help me to make the popup stay fixed when loading the map?
var marker = new PruneCluster.Marker(
posicoes[0].latitude, posicoes[0].longitude,
{
icon: L.divIcon({html:'<img src="../_lib/libraries/grp/Leaflet/images/'+device.category+'.svg" style="-webkit-transform: rotate(0deg); -moz-
transform:rotate(0deg);" />'}),
id: posicoes[0].deviceId,
popup: device.name
});
I'm working on a custom interface.
i am using a leaflet prune cluster plugin.
I need to leave the popup always activated as a layer.
can someone help me to make the popup stay fixed when loading the map?
var marker = new PruneCluster.Marker( posicoes[0].latitude, posicoes[0].longitude, { icon: L.divIcon({html:'<img src="../_lib/libraries/grp/Leaflet/images/'+device.category+'.svg" style="-webkit-transform: rotate(0deg); -moz- transform:rotate(0deg);" />'}), id: posicoes[0].deviceId, popup: device.name });