function interaction(feature, layer){ layer.on({ mouseover: function over(e) { layer.bindPopup(feature.properties.Descriere) } })}
--
---
You received this message because you are subscribed to the Google Groups "Leaflet" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leaflet-js+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
trasee.bindPopup(L.popup().setContent(feature.properties.Descriere).setLatLng(e.target))trasee.on('mouseover', function(e) {this.openPopup()})
function interaction(feature, layer){ layer.on({ mouseover: function over(e) {
(e.target).setStyle({ color: 'yellow', weight: 5, opacity: 0.5 }) layer.bindPopup(L.popup().setContent(feature.properties.Descriere)) layer.openPopup() }, mouseout: function out(e) { trasee.resetStyle(e.target) layer.closePopup() } })}