Gmaps4rails make marker draggable and get its coordinates
Is it pos开发者_如何学Gosible to make a marker draggable and to get its coordinates in gmaps4rails, that the user could drag marker to choose the point he wants and get his chosen point coordinates?
It's not implemented in the gem.
But don't forget that you have access to all objects created. Example, the map could be retrieved with: Gmaps4Rails.map
You could take inspiration from: https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Javascript-goodies
精彩评论