Skip to main content

Interface: IOmhMapsModule

@openmobilehub/maps-core.IOmhMapsModule

The interface for the OmhMapsModule.

Methods

getAvailableMapProviders

getAvailableMapProviders(): OmhMapProvider[]

Gets the available map providers depending on the operating system and Google Play Services availability.

Returns

OmhMapProvider[]

The available map providers.

Defined in

packages/core/src/modules/core/OmhMapsModule.types.ts:17


getDefaultMapProvider

getDefaultMapProvider(): OmhMapProvider

Gets the default map provider.

Returns

OmhMapProvider

The default map provider.

Defined in

packages/core/src/modules/core/OmhMapsModule.types.ts:22


initialize

initialize(providers): void

Initializes the module with the given providers.

Parameters

NameTypeDescription
providersProvidersThe providers to use.

Returns

void

Defined in

packages/core/src/modules/core/OmhMapsModule.types.ts:11