写了一个h5页面,页面里使用谷歌地图的api,显示谷歌地图,在浏览器打开这个h5页面 显示没有任何问题,但将这个h5通过
通过web-view嵌入一个h5页面,页面调用了谷歌地图,但小程序里不显示谷歌地图,请问怎么回事?Embed an h5 page through web-view, the page calls Google map, but Google map is not displayed in the applet, what's the matter?
通过web-view嵌入一个h5页面,页面调用了谷歌地图,但小程序里不显示谷歌地图,请问怎么回事?写了一个h5页面,页面里使用谷歌地图的api,显示谷歌地图,在浏览器打开这个h5页面 显示没有任何问题,但将这个h5通过
Write an H5 page, the page uses the Google map API to display Google map. There is no problem in opening the H5 page in the browser. However, after putting the H5 into the small program, Google map can not be displayed. Other elements except Google map can be displayed normally. The domain name is not checked. What's the matter?
回答:
web-view必须业务域名才能访问,谷歌地图你肯定是加不上业务域名的。
真机必须校验
不是吧 啊sir 谷歌地图你肯定是加不上业务域名的