开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜