Google Maps API V3 获得地图上坐标经纬度

请参考代码:[code]

div#map { position: relative; }

div#crosshair {
position: absolute;
top: 192px;
height: 19px;
width: 19px;
left: 50%;
margin-left: -8px;
display: block;
background: url(crosshair.gif);
background-position: center center;
background-repeat: no-repeat;
}

Find Place:
<table>
	<tr>
		<td>Lat/Lng:</td>
		<td><div id="latlng"></div></td>
	</tr>
	<tr>
		<td>Address:</td>
		<td><div id="formatedAddress"></div></td>
	</tr>
	<tr>
		<td>Zoom Level</td>
		<td><div id="zoom_level">2</div></td>
	</tr>
</table>
[/code]运行结果如下: ![](https://cdn.ossez.com/com-ossez-www/data/attachment/forum/201210/29/2208192ocicfwjt2oj5cct.png)