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.
我在这里用经度和纬度坐标实现了谷歌地图。这些都没有显示,只返回一个空的蓝屏。
您的问题是它mapLat = document.getElementById('mapLat').value的值与$aAddress.cf_location_latitude.value实际纬度相反。
mapLat = document.getElementById('mapLat').value
$aAddress.cf_location_latitude.value
我的猜测是这是一个服务器端变量,其值应该在 HTML 中呈现