apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.27k stars 382 forks source link

Remove Polylines #525

Open marianaloran opened 7 years ago

marianaloran commented 7 years ago

How can i remove a polyline?

My code is: polylines = handler.addPolylines( [[{lat: origen.lat(), lng: origen.lng()},{lat: destino.lat(), lng: destino.lng()}]], { strokeColor: "#d4373e", strokeWeight: 5 } ) handler.bounds.extendWith(polylines)

I appreciate any help Thanks