Add exception to make it obvious

This commit is contained in:
Leith Bade
2014-11-25 22:16:57 +11:00
parent 48f52eeb7f
commit d24ab4ef63

View File

@@ -39,6 +39,7 @@ public class MapFragment extends Fragment {
mMap = (MapView) inflater.inflate(R.layout.fragment_main, container, true);
// Load the API key
throw new RuntimeException("You must insert a valid Mapbox API key and then delete this throw.");
mMap.setAccessToken("access key goes here");
// Need to pass on any saved state to the map