WordPress显示谷歌地图是调用了maps.googleapis.com,由于此域名被墙造成地图无法显示。
国内网站修改调用代码 maps.googleapis.com 为国内源 ditu.google.cn 即可让网站正确显示谷歌地图了。
即:
http://maps.googleapis.com/maps/api/js 或 http://maps.google.com/maps/api/js 改为 http://ditu.google.cn/maps/api/js
WordPress显示谷歌地图是调用了maps.googleapis.com,由于此域名被墙造成地图无法显示。
国内网站修改调用代码 maps.googleapis.com 为国内源 ditu.google.cn 即可让网站正确显示谷歌地图了。
即:
http://maps.googleapis.com/maps/api/js 或 http://maps.google.com/maps/api/js 改为 http://ditu.google.cn/maps/api/js