我想开发这样的应用程序:
有一个包含以下坐标的csv文件。
30.6674,36.8925
30.6651,36.8926
30.6649,36.8923
...
我想通过从csv文件获取坐标信息来在google maps api上路由。 我该怎么做,你能给出样例链接或任何建议吗? 感谢。
答案 0 :(得分:0)
在数组中加载csv文件内容:
http://www.webdeveloper.com/forum/showthread.php?t=225845
将一组地址(或坐标)传递给API:
how to use the google maps api with greasemonkey to read a table of addresses and trace the route?
--- EDITED [28/10/2011] ---
这里:Loading an array from a .txt file? (Android)
在这里:https://stackoverflow.com/questions/5668507/trying-to-load-a-list-of-overlay-positions-from-file