| java.lang.Object | |
| ↳ | com.amazon.geo.mapsv2.MapsInitializer |
Contains methods for manually initializing the Amazon Maps API. This is only
necessary if you need to use certain API features before you obtain an
AmazonMap object from a MapFragment,
SupportMapFragment, or MapView object.
You must initialize the map to use classes such
as BitmapDescriptorFactory and
CameraUpdateFactory before obtaining the AmazonMap.
Once you obtain a non-null AmazonMap object by calling
MapFragment.getMap(),
SupportMapFragment.getMap(),
or MapView.getMap(), the map is initialized and you do not
need to initialize it manually.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Initializes the Amazon Maps API so that its classes are ready for use.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Initializes the Amazon Maps API so that its classes are ready for use.
If you have obtained a non-null AmazonMap object by calling
MapFragment.getMap(),
SupportMapFragment.getMap(),
or MapView.getMap(), the map is initialized and you do not
need to call initialize.
| context | The app Context. Cannot be null. |
|---|
ConnectionResult error code.