public class SupportMapFragmentActivity extends androidx.appcompat.app.AppCompatActivity implements MapFragment.OnMapViewReadyCallback, OnMapReadyCallback, MapView.OnDidFinishRenderingFrameListener
Uses MapboxMapOptions to initialise the Fragment.
| Constructor and Description |
|---|
SupportMapFragmentActivity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onCreate(Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onDidFinishRenderingFrame(boolean fully)
Called when the map has finished rendering a frame
|
void |
onMapReady(MapboxMap map)
Called when the map is ready to be used.
|
void |
onMapViewReady(MapView map)
Called when the map has been created.
|
addContentView, closeOptionsMenu, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getResources, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onKeyDown, onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onSaveInstanceState, onStart, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, openOptionsMenu, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTaskdump, getLastCustomNonConfigurationInstance, getLifecycle, getSupportFragmentManager, getSupportLoaderManager, getViewModelStore, onActivityResult, onAttachFragment, onBackPressed, onCreatePanelMenu, onCreateView, onCreateView, onLowMemory, onMultiWindowModeChanged, onNewIntent, onPause, onPictureInPictureModeChanged, onPrepareOptionsPanel, onPreparePanel, onRequestPermissionsResult, onResume, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, startActivityForResult, startActivityForResult, startActivityFromFragment, startActivityFromFragment, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCodeprotected void onCreate(Bundle savedInstanceState)
onCreate in class androidx.appcompat.app.AppCompatActivitypublic void onMapViewReady(MapView map)
MapFragment.OnMapViewReadyCallbackonMapViewReady in interface MapFragment.OnMapViewReadyCallbackmap - The created mapviewpublic void onMapReady(@NonNull
MapboxMap map)
OnMapReadyCallbackonMapReady in interface OnMapReadyCallbackmap - An instance of MapboxMap associated with the MapFragment or
MapView that defines the callback.protected void onDestroy()
onDestroy in class androidx.appcompat.app.AppCompatActivitypublic void onDidFinishRenderingFrame(boolean fully)
MapView.OnDidFinishRenderingFrameListeneronDidFinishRenderingFrame in interface MapView.OnDidFinishRenderingFrameListenerfully - true if all frames have been rendered, false if partially rendered