Wordpress Google Maps



我的谷歌地图有一个问题,我的谷歌地图在属性页面上加载得很好,但它没有确定正确的地址。

添加新属性时,您需要输入地址并单击"查找地址",然后地图将显示引脚指向的位置,但是最近,引脚指向的位置是一些随机点,不会改变,属性编辑器中的谷歌地图甚至不显示。

有人可以协助我使"查找地址"工作吗?

此外,这是我收到的控制台错误:

post.php?post=3030&action=edit:1 Mixed Content: The page at 'https://www.riverdalep.com/wp-admin/post.php?post=3030&action=edit' was loaded over HTTPS, but requested an insecure script 'http://maps.google.com/maps/api/js?key=AIzaSyDWQpWFUygctd8GqZcnFnzsa9mrm7JGbqY&ver=4.9.8'. This request has been blocked; the content must be served over HTTPS.
map.js?ver=4.3.1:34 Uncaught TypeError: Cannot read property 'maps' of undefined
at Object.initLatLng (map.js?ver=4.3.1:34)
at Object.init (map.js?ver=4.3.1:22)
at HTMLDivElement.<anonymous> (map.js?ver=4.3.1:179)
at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)
at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)
at HTMLDocument.<anonymous> (map.js?ver=4.3.1:178)
at i (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)
at Function.ready (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)
at HTMLDocument.K (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=4.9.8:2)

这是网站的链接:

https://www.riverdalep.com/property/wonderful-shop-space-in-ngara-to-let/

谢谢。

似乎您的HTTPS站点中有不安全的HTTP引用。将谷歌地图脚本更改为从HTTPS -https://maps.google.com/maps/api/js?key=AIzaSyDWQpWFUygctd8GqZcnFnzsa9mrm7JGbqY&ver=4.9.8加载。希望这将解决问题。

相关内容

  • 没有找到相关文章

最新更新