Skip to content

mkoehne/MapboxExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mapbox iOS and Android SDK Examples

A Xamarin project that provides the Mapbox iOS SDK's public examples and Android SDK´s public examples.

Configure your Xamarin.iOS project

Once you have generated an access token, you need to set it up within your app. There are two ways to provide an access token in your app:

  1. In the Info.plist file set MGLMapboxAccessToken with the value of your token.
  2. In the AppDelegate.FinishedLaunching method, call AccountManager.AccessToken = "YOUR-TOKEN";

Configure your Xamarin.Android project

Once you have generated an access token, you need to set it up within your app:

  1. In Strings.xml set the access_token with the value of your token.
  2. In your MainActivity call MapboxAccountManager.Start(this, Resources.GetString(Resource.String.access_token));

Other helpful links

Thanks

Thanks to NAXAM for the Xamarin Mapbox bindings.

About

Mapbox examples for Xamarin.iOS & Xamarin.Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages