【问题标题】:Geocoder stopped returning shapes地理编码器停止返回形状
【发布时间】:2020-11-28 10:12:51
【问题描述】:

我在地理编码器上使用 IncludeShapeLevel 有一段时间了,但它突然停止返回 Shape 值。

文章仍在文档中,甚至示例也不起作用。

https://developer.here.com/documentation/geocoder/dev_guide/topics/example-geocode-retrieve-shape-area.html

我的请求 https://geocoder.ls.hereapi.com/6.2/geocode.json?apiKey=${hereApiKey}&searchtext=${postCode}+Czech+Republic&additionaldata=IncludeShapeLevel,postalCode

谢谢

【问题讨论】:

标签: here-api


【解决方案1】:

Soo,答案是不要为 javascript 使用 API 密钥。它曾经可以工作,但现在您需要使用 REST API 密钥。使用 REST api 密钥,它就像以前一样工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-12-08
    • 2016-07-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-14
    相关资源
    最近更新 更多