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 密钥时,我选择了移动使用,并且自从我要求它以来已经过去了一个多小时。

希望您能够帮助我。

4

1 回答 1

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

您必须在您的 licenseKey 之后添加您的用户 ID。

再见

于 2010-12-02T22:26:23.653 回答