Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有地图谷歌,我想得到地图的纬度(左上角)和(右下角)。如何得到它?谢谢
getBounds() 为您提供了一个 LatLngBounds-objects,其中包含当前视口的 NE 和 SW 坐标。总结 NW 和 SE 应该不难