首页 > 解决方案 > 在 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

标签: here-apihere-maps-rest

解决方案



推荐阅读