public class RealTimeGeoJsonActivity extends androidx.appcompat.app.AppCompatActivity implements OnMapReadyCallback
GL-native equivalent of https://www.mapbox.com/mapbox-gl-js/example/live-geojson/
Constructor and Description |
---|
RealTimeGeoJsonActivity() |
Modifier and Type | Method and Description |
---|---|
protected void |
onCreate(Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onMapReady(MapboxMap map)
Called when the map is ready to be used.
|
void |
onPause() |
void |
onResume() |
protected void |
onSaveInstanceState(Bundle outState) |
protected void |
onStart() |
protected void |
onStop() |
addContentView, closeOptionsMenu, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getResources, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onKeyDown, onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, openOptionsMenu, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTask
dump, getLastCustomNonConfigurationInstance, getLifecycle, getSupportFragmentManager, getSupportLoaderManager, getViewModelStore, onActivityResult, onAttachFragment, onBackPressed, onCreatePanelMenu, onCreateView, onCreateView, onLowMemory, onMultiWindowModeChanged, onNewIntent, onPictureInPictureModeChanged, onPrepareOptionsPanel, onPreparePanel, onRequestPermissionsResult, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, startActivityForResult, startActivityForResult, startActivityFromFragment, startActivityFromFragment, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCode
protected void onCreate(Bundle savedInstanceState)
onCreate
in class androidx.appcompat.app.AppCompatActivity
public void onMapReady(@NonNull MapboxMap map)
OnMapReadyCallback
onMapReady
in interface OnMapReadyCallback
map
- An instance of MapboxMap associated with the MapFragment
or
MapView
that defines the callback.protected void onStart()
onStart
in class androidx.appcompat.app.AppCompatActivity
public void onResume()
onResume
in class androidx.fragment.app.FragmentActivity
public void onPause()
onPause
in class androidx.fragment.app.FragmentActivity
protected void onStop()
onStop
in class androidx.appcompat.app.AppCompatActivity
protected void onDestroy()
onDestroy
in class androidx.appcompat.app.AppCompatActivity
protected void onSaveInstanceState(Bundle outState)
onSaveInstanceState
in class androidx.appcompat.app.AppCompatActivity