SupportMapFragment

Support Fragment wrapper around a map view.

A Map component in an app. This fragment is the simplest way to place a map in an application. It's a wrapper around a view of a map to automatically handle the necessary life cycle needs. Being a fragment, this component can be added to an activity's layout or can dynamically be added using a FragmentManager.

To get a reference to the MapView, use getMapAsync}

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun dump(p: String, p1: FileDescriptor, p2: PrintWriter, p3: Array<String>)
Link copied to clipboard
fun equals(p: Any): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getHost(): Any
Link copied to clipboard
fun getId(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMapAsync(@NonNull onMapReadyCallback: OnMapReadyCallback)
Sets a callback object which will be triggered when the MapLibreMap instance is ready to be used.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getTag(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getView(): View
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun instantiate(p: Context, p1: String): Fragment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a default MapFragment instance
Creates a MapFragment instance
Link copied to clipboard
Link copied to clipboard
open fun onActivityResult(p: Int, p1: Int, p2: Intent)
Link copied to clipboard
open fun onAttach(context: Context)
Called when the context attaches to this fragment.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreate(p: Bundle)
Link copied to clipboard
open fun onCreateAnimation(p: Int, p1: Boolean, p2: Int): Animation
Link copied to clipboard
open fun onCreateAnimator(p: Int, p1: Boolean, p2: Int): Animator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreateView(inflater: LayoutInflater, container: ViewGroup, savedInstanceState: Bundle): View
Creates the fragment view hierarchy.
Link copied to clipboard
open fun onDestroy()
Called when the fragment is destroyed.
Link copied to clipboard
Link copied to clipboard
open fun onDestroyView()
Called when the fragment is view hierarchy is being destroyed.
Link copied to clipboard
open fun onDetach()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onInflate(@NonNull context: Context, attrs: AttributeSet, savedInstanceState: Bundle)
Called when this fragment is inflated, parses XML tag attributes.
Link copied to clipboard
open fun onLowMemory()
Called when the fragment receives onLowMemory call from the hosting Activity.
Link copied to clipboard
open fun onMapReady(@NonNull maplibreMap: MapLibreMap)
Called when the map is ready to be used.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPause()
Called when the fragment is pausing.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onResume()
Called when the fragment is ready to be interacted with.
Link copied to clipboard
open fun onSaveInstanceState(@NonNull outState: Bundle)
Called when the fragment state needs to be saved.
Link copied to clipboard
open fun onStart()
Called when the fragment is visible for the users.
Link copied to clipboard
open fun onStop()
Called when the fragment is no longer visible for the user.
Link copied to clipboard
open fun onViewCreated(view: View, savedInstanceState: Bundle)
Called when the fragment view hierarchy is created.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setArguments(p: Bundle)
Link copied to clipboard
open fun setEnterTransition(p: Any)
Link copied to clipboard
open fun setExitTransition(p: Any)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setTargetFragment(p: Fragment, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun startActivity(p: Intent)
Link copied to clipboard
Link copied to clipboard
open fun startIntentSenderForResult(p: IntentSender, p1: Int, p2: Intent, p3: Int, p4: Int, p5: Int, p6: Bundle)
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Link copied to clipboard