我想了解有关如何使用自定义地点创建自己的图层的详细信息,以便在道路请求中使用该图层,如下例所示:http://developer.here.com/api-explorer#cls/route-search
在所有这些示例中,都使用了layerId = 30。有没有上传cml或json数据来创建自己的层的例子?谢谢你的帮助。
尼古拉斯
发布于 2014-09-26 18:26:43
自定义位置扩展 User Guide中介绍了数据导入。您将需要发出post请求发送附件。
可在下面找到用于数据导入的最小HTML网页:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>HERE - [Custom Location Service] - XML File Upload Example</title>
</head>
<body>
<h1>XML File Upload Example</h1>
<form action="http://stg.api.customlocation.nokia.com/v1/file/import/async/xml" enctype="multipart/form-data" method="post">
<label>xmlfile</label>
<input type="file" name="xmlfile"><br/>
<input type="submit" value="Send">
</form>
</body>
</html>《管理员用户指南 available here》中介绍了层的管理。
https://stackoverflow.com/questions/26054025
复制相似问题