Yet another maps library for Xamarin.Forms that optimized for Google maps.
Usage is almost the same as Xamarin.Forms.Maps, Because this is forked from Xamarin.Forms.Maps - github
You can try DEMO Apps for Android/iOS that includes all this library features. DEMO Apps source code is here.
The official Xamarin.Forms.Map has minumn functions only.
Especially, Bing Maps SDK is very old-fashioned because it has not vector-tile, marker's infowindow.
Android and iOS monopolize most the mobile apps market. Thus I think no need Bing maps support.
Furthermore, I am using Google Maps instead of MapKit because it is easy for define common API for Android and iOS.
Xamarin.Forms.GoogleMaps provides maximum Google maps features for Xamarin.Forms!!
Feature | X.F.Maps | X.F.GoogleMaps |
---|---|---|
Map types | Yes | Yes |
Traffic map | - | Yes |
Map events | - | Yes |
Panning with animation | Yes | Yes |
Panning directly | - | Yes |
Pins | Yes | Yes |
Custom Pins | - | Yes |
Pin drag & drop | - | Yes |
Polygons | - | Yes |
Lines | - | Yes |
Circles | - | Yes |
Custom map tiles | - | Yes |
For more information, see Comparison with Xamarin.Forms.Maps.
Platform | Supported |
---|---|
iOS Unified | Yes |
Android | Yes |
Windows 10 UWP | No |
Others | No |
Same as this
In iOS, get the API Key from Google Maps API for iOS then insert Init
of AppDelegate.cs
.
// AppDelegate.cs
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
Xamarin.FormsGoogleMaps.Init("your_google_maps_ios_api_key");
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
Namespace is Xamarin.Forms.GoogleMaps
instead of Xamarin.Forms.Maps
.
Sample application is here.
This is just a short list of apps and projects that use Xamarin.Forms.GoogleMaps. If you've used Xamarin.Forms.GoogleMaps in a apps and would like it listed on this page, Please report it.
HereNowby CINRA, Inc. |
CityBee
|
Rentacarss Araç Takip
|
yakala.coiOS / Androidby Dakicksoft |
TransantiagoMaster |
CmsAppiOS / Android |
UsynligOiOS / Androidby Trond Benum |
|
Taiwan-AskFaceMask (問口罩)iOS / Androidby JamestsaiTW |
Bipbip Navigation GPSiOS / Androidby Bipbip |
eLandFlyiOS / Androidby elandfly.com |
See Releases or RELEASE_NOTES.
I will follow Xamarin.Forms.Maps API as possible. I will add new API only when I implement Google maps original feature.
If you have proposals then send to @amay077 or submit ISSUE or Pull-request!
Latest scheduled features as follows:
Windows 10 UWP is no longer supported from v5.0.0.
We really appreciate your contribution.
Please read the contribution guideline.
You can join to out gitter room!
I will continue to work hard with your support!
Donate through Gumroad.
If this project help you reduce time to develop, you can give me a :sushi: :)
See LICENSE .