'Find separate REST API Key & MAP SDK Key for Android - mapmyindia API
On the mapmyindia (map my India) API console, under "Credentials" tab of the Default Project, a default (and single) key is present "REST / Map SDK Key". In the sample code to implement Auto Suggest API (on Android), a different REST API Key & MAP SDK Key is required.
Not able to locate the different keys for REST API & MAP SDK.
Kindly help; in case I am missing something.
Solution 1:[1]
buddy just paste that key in both the section.
MapmyIndiaAccountManager.getInstance().setRestAPIKey(firstKey1);
MapmyIndiaAccountManager.getInstance().setMapSDKKey(firstKey1);
MapmyIndiaAccountManager.getInstance().setAtlasGrantType("client_credentials");
MapmyIndiaAccountManager.getInstance().setAtlasClientId(firstKey2);
MapmyIndiaAccountManager.getInstance().setAtlasClientSecret(firstKey3);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Aryan Bisht |