Fix typo
This commit is contained in:
@@ -584,7 +584,7 @@ void NativeMapView::loadExtensions() {
|
||||
|
||||
if (extensions.find("GL_OES_depth24") != std::string::npos) {
|
||||
mbgl::Log::Info(mbgl::Event::OpenGL, "Using GL_OES_depth24.");
|
||||
if (!using_depth24) {
|
||||
if (using_depth24) {
|
||||
gl::is_depth24_supported = true;
|
||||
} else {
|
||||
mbgl::Log::Info(mbgl::Event::OpenGL, "Preferring 16 bit depth.");
|
||||
|
||||
@@ -39,7 +39,7 @@ public class MapFragment extends Fragment {
|
||||
mMap = (MapView) inflater.inflate(R.layout.fragment_main, container, true);
|
||||
|
||||
// Load the access token
|
||||
mMap.setAccessToken("access token goes here");
|
||||
mMap.setAccessToken("sk.eyJ1IjoibGpiYWRlIiwiYSI6Inpuc0hKVjgifQ.BVDMCJQPJrldYhvkuTEYUQ");
|
||||
|
||||
// Need to pass on any saved state to the map
|
||||
mMap.onCreate(savedInstanceState);
|
||||
|
||||
Reference in New Issue
Block a user