标签: google-maps
我需要在谷歌地图上绘制多个标记,并且无法放置多个标记。
这有效: https://maps.google.com/maps?q=26.549431,-81.847559
这不是: https://maps.google.com/maps?q=26.549431,-81.847559&q=26.549579,-81.847757
有没有办法将两个坐标发送到Google地图并返回两个标记?
答案 0 :(得分:1)
在Google Map API中使用静态地图可以解决问题:http://maps.google.com/maps/api/staticmap?zoom=9&size=640x480&maptype=roadmap%20&markers=label:1|26.785,-82.045&markers=label:2|26.651,-82.0&markers=label:3|26.7,-81.75634&markers=label:4|26.6,-81.89&markers=label:5|26.475,-81.79&markers=label:6|26.41,-81.76&markers=label:7|26.42,-81.78&markers=label:8|26.43,-81.80&markers=label:9|26.44,-81.82&markers=label:10|26.45,-81.84&sensor=false