OmhMapView

interface OmhMapView

Abstraction to provide access to a map view

Types

Link copied to clipboard
interface Builder

Functions

Link copied to clipboard
abstract fun getMapAsync(omhOnMapReadyCallback: OmhOnMapReadyCallback)

Returns a instance of the OmhMap through the callback, ready to be used. Note that: This method must be called from the main thread. The callback will be executed in the main thread.

Link copied to clipboard
abstract fun getView(): View?

Returns a View object of the map

Link copied to clipboard
abstract fun onCreate(savedInstanceState: Bundle?)

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onDestroy()

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onLowMemory()

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onPause()

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onResume()

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onSaveInstanceState(outState: Bundle)

You must call this method from the parent Activity/Fragment's corresponding method. Provides a Bundle to store the state of the View before it gets destroyed. It can later be retrieved when onCreate(Bundle) is called again.

Link copied to clipboard
abstract fun onStart()

You must call this method from the parent Activity/Fragment's corresponding method.

Link copied to clipboard
abstract fun onStop()

You must call this method from the parent Activity/Fragment's corresponding method.