apneadiving / Google-Maps-for-Rails

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

add the ability to addPolylines (like addMarkers) #376

Closed JamesChevalier closed 10 years ago

JamesChevalier commented 10 years ago

I've effectively duplicated addMarkers for Polylines. The main difference between replacePolylines and addPolylines is that @destroy_polylines() is not called. This also includes the ability to optionally call @adjustMapToBounds().

apneadiving commented 10 years ago

Sorry guys I've completely changed the gem in v2.

But I did add a addPolylines method.

Thanks