标签: google-maps google-maps-api-3
我知道你可以使用google.maps.LatLng()来绘制标记,但我不知道lat和long。我知道邮政编码。我可以用它来绘制标记。
答案 0 :(得分:1)
是的,您可以使用地理编码服务对邮政编码进行地理编码,您将获得可用于标记的邮政编码的中心点: https://developers.google.com/maps/documentation/javascript/geocoding