MapFragment

open class MapFragment : Fragment, MapDataProvider

A fragment class that automatically creates a Map.

Functions

Link copied to clipboard
open fun dump(    prefix: String,     fd: FileDescriptor,     writer: PrintWriter,     args: Array<String>)
Link copied to clipboard
fun equals(o: Any): Boolean
Link copied to clipboard
fun getActivity(): FragmentActivity
Link copied to clipboard
open fun getAllowEnterTransitionOverlap(): Boolean
Link copied to clipboard
open fun getAllowReturnTransitionOverlap(): Boolean
Link copied to clipboard
fun getArguments(): Bundle
Link copied to clipboard
fun getChildFragmentManager(): FragmentManager
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
open fun getDefaultViewModelProviderFactory(): ViewModelProvider.Factory
Link copied to clipboard
open fun getEnterTransition(): Any
Link copied to clipboard
open fun getExitTransition(): Any
Link copied to clipboard
fun getFragmentManager(): FragmentManager
Link copied to clipboard
fun getHost(): Any
Link copied to clipboard
fun getId(): Int
Link copied to clipboard
fun getLayoutInflater(): LayoutInflater
Link copied to clipboard
open fun getLifecycle(): Lifecycle
Link copied to clipboard
open fun getLoaderManager(): LoaderManager
Link copied to clipboard
open fun getMapAsync(onMapInitListener: OnMapInitListener)
Link copied to clipboard
open fun getMapView(): MapView
Link copied to clipboard
fun getParentFragment(): Fragment
Link copied to clipboard
fun getParentFragmentManager(): FragmentManager
Link copied to clipboard
open fun getReenterTransition(): Any
Link copied to clipboard
fun getResources(): Resources
Link copied to clipboard
fun getRetainInstance(): Boolean
Link copied to clipboard
open fun getReturnTransition(): Any
Link copied to clipboard
fun getSavedStateRegistry(): SavedStateRegistry
Link copied to clipboard
open fun getSharedElementEnterTransition(): Any
Link copied to clipboard
open fun getSharedElementReturnTransition(): Any
Link copied to clipboard
fun getString(resId: Int): String
Link copied to clipboard
fun getTag(): String
Link copied to clipboard
fun getTargetFragment(): Fragment
Link copied to clipboard
fun getTargetRequestCode(): Int
Link copied to clipboard
fun getText(resId: Int): CharSequence
Link copied to clipboard
open fun getUserVisibleHint(): Boolean
Link copied to clipboard
open fun getView(): View
Link copied to clipboard
open fun getViewLifecycleOwner(): LifecycleOwner
Link copied to clipboard
open fun getViewLifecycleOwnerLiveData(): LiveData<LifecycleOwner>
Link copied to clipboard
open fun getViewModelStore(): ViewModelStore
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
fun hasOptionsMenu(): Boolean
Link copied to clipboard
open fun instantiate(context: Context, fname: String): Fragment
Link copied to clipboard
fun isAdded(): Boolean
Link copied to clipboard
fun isDetached(): Boolean
Link copied to clipboard
fun isHidden(): Boolean
Link copied to clipboard
fun isInLayout(): Boolean
Link copied to clipboard
fun isMenuVisible(): Boolean
Link copied to clipboard
fun isRemoving(): Boolean
Link copied to clipboard
fun isResumed(): Boolean
Link copied to clipboard
fun isStateSaved(): Boolean
Link copied to clipboard
fun isVisible(): Boolean
Link copied to clipboard
open fun newInstance(@Nullable initialCameraState: CameraState): MapFragment
Create new fragment and set initial camera state.
open fun newInstance(surfaceType: Int): MapFragment
Create new fragment and set the gl surface type for creating OpenGL surface.
open fun newInstance(@Nullable mapSkins: List<String>): MapFragment
Create new fragment and set initial map skins.
open fun newInstance(    surfaceType: Int,     @Nullable initialCameraState: CameraState,     @Nullable initialSkins: List<String>): MapFragment
Create new fragment and set the gl surface type for creating OpenGL surface and initial camera state.
Link copied to clipboard
open fun onActivityCreated(savedInstanceState: Bundle)
Link copied to clipboard
open fun onActivityResult(    requestCode: Int,     resultCode: Int,     data: Intent)
Link copied to clipboard
open fun onAttach(context: Context)
Link copied to clipboard
open fun onAttachFragment(childFragment: Fragment)
Link copied to clipboard
open fun onConfigurationChanged(newConfig: Configuration)
Link copied to clipboard
open fun onContextItemSelected(item: MenuItem): Boolean
Link copied to clipboard
open fun onCreate(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun onCreateAnimation(    transit: Int,     enter: Boolean,     nextAnim: Int): Animation
Link copied to clipboard
open fun onCreateAnimator(    transit: Int,     enter: Boolean,     nextAnim: Int): Animator
Link copied to clipboard
open fun onCreateContextMenu(    menu: ContextMenu,     v: View,     menuInfo: ContextMenu.ContextMenuInfo)
Link copied to clipboard
open fun onCreateOptionsMenu(menu: Menu, inflater: MenuInflater)
Link copied to clipboard
open fun onCreateView(    @NonNull inflater: LayoutInflater,     @Nullable container: ViewGroup,     @Nullable savedInstanceState: Bundle): View
Called when this fragment is first attached to its Activity.
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onDestroyOptionsMenu()
Link copied to clipboard
open fun onDestroyView()
Called when the view previously created by onCreateView(LayoutInflater, ViewGroup, Bundle) has been detached from this fragment.
Link copied to clipboard
open fun onDetach()
Link copied to clipboard
open fun onGetLayoutInflater(savedInstanceState: Bundle): LayoutInflater
Link copied to clipboard
open fun onHiddenChanged(hidden: Boolean)
Link copied to clipboard
open fun onInflate(    context: Context,     attrs: AttributeSet,     savedInstanceState: Bundle)
Link copied to clipboard
open fun onLowMemory()
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
Link copied to clipboard
open fun onOptionsItemSelected(item: MenuItem): Boolean
Link copied to clipboard
open fun onOptionsMenuClosed(menu: Menu)
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
open fun onPrepareOptionsMenu(menu: Menu)
Link copied to clipboard
open fun onPrimaryNavigationFragmentChanged(isPrimaryNavigationFragment: Boolean)
Link copied to clipboard
open fun onRequestPermissionsResult(    requestCode: Int,     permissions: Array<String>,     grantResults: Array<Int>)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSaveInstanceState(@NonNull outState: Bundle)
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onViewCreated(view: View, savedInstanceState: Bundle)
Link copied to clipboard
open fun onViewStateRestored(@Nullable savedInstanceState: Bundle)
Link copied to clipboard
open fun postponeEnterTransition()
Link copied to clipboard
fun <I, O> registerForActivityResult(contract: ActivityResultContract<I, O>, callback: ActivityResultCallback<O>): ActivityResultLauncher<I>
Link copied to clipboard
open fun registerForContextMenu(view: View)
Link copied to clipboard
fun requestPermissions(permissions: Array<String>, requestCode: Int)
Link copied to clipboard
fun requireActivity(): FragmentActivity
Link copied to clipboard
fun requireArguments(): Bundle
Link copied to clipboard
fun requireContext(): Context
Link copied to clipboard
fun requireFragmentManager(): FragmentManager
Link copied to clipboard
fun requireHost(): Any
Link copied to clipboard
fun requireParentFragment(): Fragment
Link copied to clipboard
fun requireView(): View
Link copied to clipboard
open fun setAllowEnterTransitionOverlap(allow: Boolean)
Link copied to clipboard
open fun setAllowReturnTransitionOverlap(allow: Boolean)
Link copied to clipboard
open fun setArguments(args: Bundle)
Link copied to clipboard
open fun setEnterSharedElementCallback(callback: SharedElementCallback)
Link copied to clipboard
open fun setEnterTransition(transition: Any)
Link copied to clipboard
open fun setExitSharedElementCallback(callback: SharedElementCallback)
Link copied to clipboard
open fun setExitTransition(transition: Any)
Link copied to clipboard
open fun setHasOptionsMenu(hasMenu: Boolean)
Link copied to clipboard
open fun setInitialSavedState(state: Fragment.SavedState)
Link copied to clipboard
open fun setMenuVisibility(menuVisible: Boolean)
Link copied to clipboard
open fun setReenterTransition(transition: Any)
Link copied to clipboard
open fun setRetainInstance(retain: Boolean)
Link copied to clipboard
open fun setReturnTransition(transition: Any)
Link copied to clipboard
open fun setSharedElementEnterTransition(transition: Any)
Link copied to clipboard
open fun setSharedElementReturnTransition(transition: Any)
Link copied to clipboard
open fun setTargetFragment(fragment: Fragment, requestCode: Int)
Link copied to clipboard
open fun setUserVisibleHint(isVisibleToUser: Boolean)
Link copied to clipboard
open fun shouldShowRequestPermissionRationale(permission: String): Boolean
Link copied to clipboard
open fun startActivity(intent: Intent)
Link copied to clipboard
open fun startActivityForResult(intent: Intent, requestCode: Int)
Link copied to clipboard
open fun startIntentSenderForResult(    intent: IntentSender,     requestCode: Int,     fillInIntent: Intent,     flagsMask: Int,     flagsValues: Int,     extraFlags: Int,     options: Bundle)
Link copied to clipboard
open fun startPostponedEnterTransition()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun unregisterForContextMenu(view: View)