Re: Re: Googleマップブロックで「Unable to display map: google is not defined」
2018年5月13日 at 0:42
try-catch文が入っていてコンソールに何も出てこなかったので、catch文にスタックトレースを組み込んでみたところ、下記のようになっていました。
(profile は、Googleマップブロックが配置してあるページのスラッグです)
ReferenceError: google is not defined
at googleMapInit56bbc84645646ebb8c (profile:418)
at startWhenVisible (profile:450)
at HTMLDocument.<anonymous> (profile:455)
at j (jquery.js:2)
at Object.fireWith [as resolveWith] (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.J (jquery.js:2)
ブロックキャッシュを無効にすると、エラーが出ずにGoogleマップが表示されます。
Your post has been saved and will be published after approval by the forum moderator.