【发布时间】:2019-08-12 16:33:16
【问题描述】:
试图在 Internet Explorer 中显示带有引脚的地图,该页面声称支持 https://developer.here.com/documentation/maps/topics/overview.html,但开发人员文档中的示例似乎都没有在 IE 11 中运行
来自网址的表格
+===============================+==============================+
| Support Level | Browser |
+===============================+==============================+
| Supported with optimizations: | Edge 17+ |
+-------------------------------+------------------------------+
| | Firefox (latest) |
+-------------------------------+------------------------------+
| | Google Chrome (latest) |
+-------------------------------+------------------------------+
| | Apple Safari 11+ |
+-------------------------------+------------------------------+
| Legacy support: | Internet Explorer 9, 10, 11 |
+-------------------------------+------------------------------+
| | iOS WebView |
+-------------------------------+------------------------------+
| Not supported: | Opera |
+-------------------------------+------------------------------+
| | Internet Explorer < 9 |
+-------------------------------+------------------------------+
这是一个无法加载https://developer.here.com/api-explorer/maps-js/maps/interactive-basemap的示例地图
谁有 IE 中 3.1 api 的工作示例?
【问题讨论】:
-
您好,您是否尝试在脚本中添加 api 密钥来代替 window.apikey 参数。
-
@HEREDeveloperSupport 是的,我在这里设置了一个加载光栅图块的示例: IE 视图:s.codepen.io/shanegerhardt/debug/xxKZPdg/yPAJjKPRRVmA 使用代码查看:codepen.io/shanegerhardt/pen/xxKZPdg 地图在当前浏览器中加载正常,但在 IE 中会记录错误并防止瓷砖被加载。
标签: here-api