寻找如何在rails 4中使用gmaps自动完成的教程



我试图在我的rails 4项目中使用gmaps api添加自动完成,但作为新手,我缺乏相关知识。有没有人有关于gmaps自动完成api和rails 4的好教程的链接?

Many thanks

您正在寻找geocomplete。它非常容易使用,你得到自动完成(地名)功能在你的文本框....看看这些例子。您将获得地图自定义标记一些动态特性以及

例如,

   //initialize the map
   $("addressTextBox").geocomplete();

Git url - https://github.com/ubilabs/geocomplete

…希望能有所帮助

相关内容

最新更新