Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 902 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 902 Bytes

MapboxFragment

MapboxFragment is an Android Fragment allowing one-line integration of Mapbox custom maps into Google Maps on Android. Best of all, the MapboxFragment class is simply a drop-in replacement for the MapFragment class you already use.

Usage

  1. Set up the Google Maps Android API for your application.
  2. Add MapboxFragment.java to your project.
  3. Use MapboxFragment wherever you would normally use MapFragment.
  4. Call setMapID on your fragment in your activity's onResume method.

Credits

MapboxFragment was created by Seth Friedman and Nolan Smith, based off of MBXMapKit for iOS.

License

MapboxFragment is available under the MIT license.