【问题标题】:Google Maps Android polylines are not crossing the center of markersGoogle Maps Android 折线未穿过标记的中心 【发布时间】:2018-11-06 17:44:57 【问题描述】: 从图像中,多段线接触标记的中心底部。我需要折线来接触标记的中心。 【问题讨论】: 标签: android google-maps 【解决方案1】: 您必须通过调用来设置标记的anchor marker.setAnchor() 根据地图上标记的位置锚定图像的位置。默认情况下,锚点位于图像底部的中心点。 official doc 【讨论】: 谢谢,更多关于锚的工作原理stackoverflow.com/questions/32437865/…