here-api - 在 Here Map 的中心叠加图像(如警告图像)?
问题描述
是否可以在 Here MAP 的中心显示图像?我不确定地图本身是否内置了任何东西,或者我们是否需要创建某种覆盖 div 以放置在地图 div 的顶部以放置图像。
注意:叠加层不应位于特定位置,而是作为位于整个地图顶部的图像,无论地图显示的位置如何,始终显示在中心。
我们正在使用:
<script src="https://js.api.here.com/v3/3.0/mapsjs-core.js" type="text/javascript" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.0/mapsjs-service.js" type="text/javascript" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.0/mapsjs-ui.js" type="text/javascript" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.0/mapsjs-mapevents.js" type="text/javascript" charset="utf-8"></script>
来自 HERE 文档的 JSFiddle:http: //jsfiddle.net/gh/get/jquery/2.1.0/heremaps/jsfiddle-github/tree/master/markers-on-the-map
解决方案
推荐阅读
- gitlab - 推送到 Git 时出现问题
- javascript - 在数据表实时 DOM 排序中,$.fn.datatables 是什么?
- programming-languages - 我们能得到 SML 中变量表示的引用吗?
- multithreading - 进程和内核线程有什么区别?哪一个通过调度程序获取 cpu 时间?
- spring-boot - 在 Kafka Listner Spring boot 中阅读多主题
- sql - SQL Server 查询查找最后出现的大于 0 的数字。如果没有大于 0 的数字,则查询应返回 0
- c# - 无法使用 FormRecognizerClientExtensions(C# Nuget 库)访问 BatchReadReceiptAsync
- php - 登录laravel 7后重定向
- excel - Excel VBA - 访问网站,生成报告并在 IE 对话框栏上按保存
- dax - 测量以计算当前所选周期与前一个周期之间的平均值差异