java.lang.Object | |
↳ | com.neomades.maps.provider.MapProvider |
Base class for providing implementation of Maps.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | PROVIDER_APPLE_MAPS | Apple Maps provider (available in iOS) | |||||||||
int | PROVIDER_GOOGLE_MAPS | Google Maps provider (available in Android) |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MapProvider()
Default constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static MapProvider |
getDefaultProvider()
Returns the default provider for the device platform.
| ||||||||||
static MapProvider |
getProvider(int type)
Returns the map provider if exists with the specified provider type.
| ||||||||||
abstract Object |
onCreateNativeView(MapView view)
Creates the native map view.
| ||||||||||
abstract Map |
onInitializeMap(MapView view)
Initializes the Map implementation used to manage Map, Camera, Settings
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Apple Maps provider (available in iOS)
Google Maps provider (available in Android)
Default constructor
Returns the default provider for the device platform.
Returns the map provider if exists with the specified provider type.
Creates the native map view.
view | the original neomad map view |
---|
NullPointerException | if the returned object is null |
---|
Initializes the Map implementation used to manage Map, Camera, Settings
NullPointerException | if the map parameter is null |
---|