The maps app na pinagawa ni Mar.
#awfulnamingsensibilities
- Add the
Xamarin.Forms.Maps
package to each project in the solution.- Once the package is installed, the following initialization code is required in each application project:
AppDelegate.cs
for iOS in theFinishedLaunching
method
Xamarin.FormsMaps.Init();
MainActivity.cs
for Android in theOnCreate
method:Xamarin.FormsMaps.Init(this, bundle);
- Android emulator needs Gapps. :/
- Once the package is installed, the following initialization code is required in each application project:
- If also using the Google geocoder,
com.google.android.maps.v2.API_KEY
can be omitted and replaced withcom.google.android.geo.API_KEY
.