We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7af53b0 commit fa68c46Copy full SHA for fa68c46
1 file changed
src/pages/Explore/components/Map/index.tsx
@@ -59,9 +59,8 @@ const ExploreMap = () => {
59
style: DEFAULT_MAP_STYLE,
60
renderWorldCopies: true,
61
authOptions: {
62
- authType: atlas.AuthenticationType.anonymous,
63
- clientId: AZMAPS_CLIENT_ID,
64
- getToken: fetchMapToken,
+ authType: atlas.AuthenticationType.subscriptionKey,
+ subscriptionKey: process.env.REACT_APP_AZMAPS_KEY,
65
},
66
transformRequest: addEntityHeader,
67
});
0 commit comments