Xamarin.Forms.MapExtend.Abstractions
1.4.0
dotnet add package Xamarin.Forms.MapExtend.Abstractions --version 1.4.0
NuGet\Install-Package Xamarin.Forms.MapExtend.Abstractions -Version 1.4.0
<PackageReference Include="Xamarin.Forms.MapExtend.Abstractions" Version="1.4.0" />
paket add Xamarin.Forms.MapExtend.Abstractions --version 1.4.0
#r "nuget: Xamarin.Forms.MapExtend.Abstractions, 1.4.0"
// Install Xamarin.Forms.MapExtend.Abstractions as a Cake Addin
#addin nuget:?package=Xamarin.Forms.MapExtend.Abstractions&version=1.4.0
// Install Xamarin.Forms.MapExtend.Abstractions as a Cake Tool
#tool nuget:?package=Xamarin.Forms.MapExtend.Abstractions&version=1.4.0
To Android:
MapExtend.Maps.Plugin.Forms.Plugin.Android
To WindowsPhone:
MapExtend.Maps.Plugin.Forms.Plugin.WindowsPhone
To Create a map:
var map = new MapExtend.Maps.Plugin.Forms.Plugin.Abstractions.MapExtend(MapSpan.FromCenterAndRadius(new Position(31, -122), Xamarin.Forms.Maps.Distance.FromMiles(0.3)));
To draw Nearby Locations:
await map.NearbyLocations(YOUR_API_KEY_FROM_GOOGLE_PLACES_API).ContinueWith(t=>{
if (t.Exception != null)
DisplayAlert("", t.Exception.Message, "ok");
});
To Draw Route:
await map.CreateRoute(map.Pins[0].Position, map.Pins[1].Position).ContinueWith(t =>
{
if (t.Exception != null)
DisplayAlert("", t.Exception.Message, "ok");
});
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.Net.Http (>= 2.2.29)
- Newtonsoft.Json (>= 6.0.8)
- Xamarin.Forms.Maps (>= 1.4.1.6349)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
Pacote em Release.