Mapbox Navigation SDK Examples - GitHub

文章推薦指數: 80 %
投票人數:10人

Installation · cd mapbox-navigation-ios-examples · Go to your Mapbox account dashboard and create an access token that has the DOWNLOADS:READ scope. · Run pod repo ... Skiptocontent {{message}} mapbox / mapbox-navigation-ios-examples Public Notifications Fork 26 Star 46 AcollectionofexamplesshowingofftheMapboxNavigationSDK. github.com/mapbox/mapbox-navigation-ios License Viewlicense 46 stars 26 forks Star Notifications Code Issues 17 Pullrequests 5 Projects 0 Wiki Security Insights More Code Issues Pullrequests Projects Wiki Security Insights Thiscommitdoesnotbelongtoanybranchonthisrepository,andmaybelongtoaforkoutsideoftherepository. main Branches Tags Couldnotloadbranches Nothingtoshow {{refName}} default Couldnotloadtags Nothingtoshow {{refName}} default 46 branches 0 tags Code Latestcommit   Gitstats 308 commits Files Permalink Failedtoloadlatestcommitinformation. Type Name Latestcommitmessage Committime .circleci     DocsCode     Navigation-Examples.xcodeproj     Navigation-Examples     Scripts     .gitignore     .swiftlint.yml     LICENSE.md     Podfile     Podfile.lock     readme.md     Viewcode MapboxNavigationSDKExamples Installation Addanexample: Additionalresources readme.md MapboxNavigationSDKExamples AcollectionofexamplesshowingofftheMapboxNavigationSDK. Installation InstallationwithCocoaPods gitclonehttps://github.com/mapbox/mapbox-navigation-ios-examples.git cdmapbox-navigation-ios-examples GotoyourMapboxaccountdashboardandcreateanaccesstokenthathastheDOWNLOADS:READscope.PLEASENOTE:ThisisnotthesameasyourproductionMapboxAPItoken.MakesuretokeepitprivateanddonotinsertitintoanyInfo.plistfile.Createafilenamed.netrcinyourhomedirectoryifitdoesn’talreadyexist,thenaddthefollowinglinestotheendofthefile: machineapi.mapbox.com loginmapbox passwordYOUR_SECRET_MAPBOX_TOKEN whereYOUR_SECRET_MAPBOX_TOKENisyourMapboxAPItokenwiththeDOWNLOADS:READscope.Theloginshouldalwaysbemapbox.Itshouldnotbeyourpersonalusernameusedtocreatethesecrettoken. Runpodrepoupdate&&podinstallandopentheresultingNavigation-Examples.xcworkspace. SignuporlogintoyourMapboxaccountandgrabaMapboxaccesstoken. EnteryourMapboxaccesstokenintothevalueoftheMBXAccessTokenkeywithintheInfo.plistfile.Alternatively,ifyouplantousethisprojectasthebasisforanyopensourceapplication,readthisguidetolearnhowtobestprotectyouraccesstokens. BuildingandruntheNavigation-Examplesscheme. Addanexample: Addtheexampleto/Examples. AddtheexamplenametotheConstants.swift. Runtheapp. Additionalresources Whilewearenotabletoanswersupportquestionsinthisrepository,belowaresomehelpfulresourcesifyou'rejustgettingstartedwiththeMapboxNavigationSDKforiOS: MapboxNavigationSDKforiOSdocumentation MapboxNavigationSDKforiOSexamples BuildanavigationappforiOStutorial Mapboxhelppage MapboxnavigationquestionsonStackOverflow About AcollectionofexamplesshowingofftheMapboxNavigationSDK. github.com/mapbox/mapbox-navigation-ios Resources Readme License Viewlicense Stars 46 stars Watchers 63 watching Forks 26 forks Releases Noreleasespublished Packages0 Nopackagespublished Contributors16 +5contributors Languages Swift 99.4% Other 0.6% Youcan’tperformthatactionatthistime. Yousignedinwithanothertaborwindow.Reloadtorefreshyoursession. Yousignedoutinanothertaborwindow.Reloadtorefreshyoursession.



請為這篇文章評分?