joshuamiller / cartographer

Google Maps on Rails
72 stars 39 forks source link

Added support for 'dragend' event in v3 API #10

Open ghost opened 13 years ago

ghost commented 13 years ago

Please accept my addition for supporting 'dragend' events in Google Maps API v3.

When a placemark is set as ":draggable => true", this event fires at the completion (or drop) of the placemark.

I needed this for my project. :) Thanks for sharing your work on the cartographer project. It's been very helpful! :)

-Mark Ericksen

ghost commented 13 years ago

First commit was premature. The second commit adds parameter passing to event handler. Updated README with example usage code.