如何启用Google Maps Tile API?

时间:2017-06-13 11:32:51

标签: google-maps google-maps-api-3 google-api

我从here发现了Google Maps Tile API(官方文档here)。 但是,我似乎无法找到启用此API的方法。

除了上面提到的问题中找到的链接,我无法在任何地方找到任何其他对此API的引用。它甚至没有列在main page of the Maps API(此处)或documentation page

API也未在​​Developer Console API库中列出。

我已尝试发送会话请求(as explained in the documentation)但收到此回复:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Maps Tile API has not been used in project XXXXXXXXXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/tile.googleapis.com/overview?project=XXXXXXXXXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
    "extendedHelp": "https://console.developers.google.com/apis/api/tile.googleapis.com/overview?project=XXXXXXXXXXXX"
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Maps Tile API has not been used in project XXXXXXXXXXXX before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/tile.googleapis.com/overview?project=XXXXXXXXXXXX then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."
 }
}

按照开发者控制台的链接,我收到以下消息:

  

API“tile.googleapis.com”不存在或您没有   允许访问它

这是Google地图高级版功能吗?有没有人有关于此API的更多信息?

1 个答案:

答案 0 :(得分:4)

Tile API不适用于标准计划用户。对于Premium计划用户[1]也没有。它需要特殊许可证。您应该直接与Google的sales team联系,以获取有关Tile API的其他信息。

[1] https://developers.google.com/maps/premium/overview#package