Android 地图未完全加载到我的手机上,但显示了我当前的位置按钮和放大/缩小按钮。
If the maps rendering as grey in color, u can use
google.maps.event.trigger(map, "resize");
Are you by chance running this on a Lollipop device? Try a non lollipop device if you are... IDK why but I cannot get the Map to load and tile data in a lollipop device but all other devices run it just fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.