当我尝试在我的 Qualtrics 调查中实施 Google 地图时,我从控制台收到以下错误消息。API 密钥正常工作:
“该站点使用不支持迭代的实现覆盖了 Array.from(),这可能导致 Google Maps JavaScript API v3 无法正常工作。”
这是我的代码(忽略我的 API 密钥):
我没有使用任何数组,所以我不确定问题来自哪里......
/*
* Qualtrics Google Map Lat/Long Collector
* Version 1.4
*
* Written by George Walker <george@georgewwalker.com>
* Get the latest from GitHub: https://github.com/pkmnct/qualtrics-google-map-lat-long/releases
*
* This JavaScript allows a Qualtrics user to collect a lat/long from a
* Google Map in a survey. To use it, create a new "Text Entry" question,
* then add this JavaScript to the question. You …Run Code Online (Sandbox Code Playgroud)