Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Mapbox url with MapLibre
Browse files Browse the repository at this point in the history
  • Loading branch information
hexadecy committed May 3, 2022
1 parent 38c4cc6 commit a6c3c7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/RCTMGL/MGLModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ + (BOOL)requiresMainQueueSetup
#ifdef RNMGL_USE_MAPLIBRE
if (accessToken.length > 0) {
[MGLSettings setApiKey:accessToken];
[MGLSettings useWellKnownTileServer:MGLMapbox];
}
#else
[MGLAccountManager setAccessToken:accessToken];
Expand Down

0 comments on commit a6c3c7f

Please sign in to comment.