This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1225 - Initial conversion of Mapbox GL app to set access token in Ap…
…pDelegate and exposing MGLMapView.initWithFrame to support it
- Loading branch information
Showing
6 changed files
with
38 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,11 @@ IB_DESIGNABLE | |
|
||
/** @name Initializing a Map View */ | ||
|
||
/** Initialize a map view with the default style, given frame, and access token set in MapboxGL singleton. | ||
* @param frame The frame with which to initialize the map view. | ||
* @return An initialized map view, or `nil` if the map view was unable to be initialized. */ | ||
- (instancetype)initWithFrame:(CGRect)frame; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bleege
Author
Contributor
|
||
|
||
/** Initialize a map view with the default style and a given frame and access token. | ||
* @param frame The frame with which to initialize the map view. | ||
* @param accessToken A Mapbox API access token. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It’s unnecessary to redeclare
-initWithFrame:
here, because the superclass,UIView
, already declares-initWithFrame:
.