here-api - HERE 地图图块可以显示道路限速吗?
问题描述
我想知道 HERE 地图服务是否允许开发人员配置图块以某种方式显示道路速度?
我看到 HERE 有用于道路速度的 API,但我不是在自己获取数据、处理和绘制数据之后。相反,我的项目中有一个地图控件,该地图控件使用 HERE 服务来获取地图图块,我只想有一个选项来获取(也)显示速度的图块。
有这样的选择吗?我一直在浏览文档,但还没有找到方法。
解决方案
关于 Map Tile(raster) API 仅支持的一些波动性信息
卡车限制图块:https ://developer.here.com/documentation/map-tile/dev_guide/topics/resource-base-truckonlytile.html
和流量:https ://developer.here.com/documentation/map-tile/dev_guide/topics/resource-traffic-flowtile.html
Vector Tile API 仅支持道路、拓扑、carto 和标签 - 也不支持任何速度信息。
因此,您只能使用仅返回速度限制数据的 Fleet Telematics API,然后将此信息作为标记推送到地图中,请参阅https://tcs.ext.here.com/examples/v3.1/pde_speed_limits_in_view或https:/上的示例/tcs.ext.here.com/examples/v3.1/pde_speed_limits_along_route 或https://tcs.ext.here.com/examples/v3.1 - 通过关键字搜索“速度”
文档:
https://developer.here.com/documentation/fleet-telematics/dev_guide/index.html
https://developer.here.com/documentation/content-map-attributes/dev_guide/index.html - 我们没有这个新 api 的任何示例。
推荐阅读
- hash - 不匹配的密钥哈希 FBSDK
- oracle-data-integrator - 在 ODI 12c 中处理汉字
- google-app-engine - 在 GCloud AppEngine 上部署 VueJS 项目
- c# - 如何通过 ID 取消特定任务
- mysql - Grafana:将文本框(模板变量)转换为整数
- java - Java Maven 在 Eclipse 中工作,但在 OpenShift 中不工作
- java - 如何从流中删除数字和空格?
- javascript - 通过单击删除照片
- asp.net-core - 如何重定向到自定义错误处理程序页面
- c# - AspNet Core - 控制器级别的输入/输出 JSON 序列化设置