CloudMade +安卓

发布于 2024-08-21 09:18:29 字数 574 浏览 12 评论 0原文

下午好,

我写信是为了询问有关 API KEY 使用的问题。我正在开发一个 Android 应用程序,因此我使用 www.nutiteq.com 提供的服务来使用 api 映射。 但问题如下:

当我使用 nutiteq 提出的代码时:

    mapComponent = new BasicMapComponent("115f89503138416a242f40fb7d7f338e4b73e583e8e343.19717285", 
            "TouristEye", "TouristEye", 1, 1,
            new WgsPoint(mCenter.getLong(), mCenter.getLat()), 10);
    mapComponent.setMap(new CloudMade(" 24c1c76c612248f7acd23978088bfb3a", 64, 1));

我要求 Cloud Made 的 API 密钥无法正常工作,并且我无法使用地图。当我获得 Api 密钥时,我选择了移动使用,并且自从我要求它以来已经过去了一个多小时。

希望你能帮助我。

Good afternoon,

i write in order to ask a question about the use of the API KEY. I'm developing an application for Android, so i use the service provided for www.nutiteq.com for using the api maps.
But the problem is the following:

when i use the code proposed by nutiteq:

    mapComponent = new BasicMapComponent("115f89503138416a242f40fb7d7f338e4b73e583e8e343.19717285", 
            "TouristEye", "TouristEye", 1, 1,
            new WgsPoint(mCenter.getLong(), mCenter.getLat()), 10);
    mapComponent.setMap(new CloudMade(" 24c1c76c612248f7acd23978088bfb3a", 64, 1));

the API Key i ask for Cloud Made doesn't work correctly and i can't use the maps. I selected mobile use when i get the Api key and have passed more than hour since i asked for it.

Hope you can help me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

十年不长 2024-08-28 09:18:29
public CloudMade(java.lang.String licenseKey,
             java.lang.String userid,
             int tileSize,
             int mapLayout)

您必须在许可证密钥后添加您的用户 ID。

再见

public CloudMade(java.lang.String licenseKey,
             java.lang.String userid,
             int tileSize,
             int mapLayout)

You must add your userid after your licenseKey.

bye

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文