Xamarin.CustomMapView.iOS
1.0.0
dotnet add package Xamarin.CustomMapView.iOS --version 1.0.0
NuGet\Install-Package Xamarin.CustomMapView.iOS -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xamarin.CustomMapView.iOS" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.CustomMapView.iOS --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.CustomMapView.iOS, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.CustomMapView.iOS as a Cake Addin #addin nuget:?package=Xamarin.CustomMapView.iOS&version=1.0.0 // Install Xamarin.CustomMapView.iOS as a Cake Tool #tool nuget:?package=Xamarin.CustomMapView.iOS&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
NetworkManageriOS
A Xamarin wrapper around Google Map APIs for iOS
Usage:
using System;
using System.Collections.Generic;
using UIKit;
using CoreLocation;
using Google.Maps;
using Subsystems.CustomMapViewiOS.External;
Initialize
var cameraPosition = CameraPosition.FromCamera(22.6789, 88.4567, 12);
_mapViewProxy = new CMPMapViewProxy("AIzaSyB9V7YYORxaF4nfSHEZIBaPUwXk8uDkJos",
View.Bounds, cameraPosition);
_mapViewProxy.AddAsSubView(View);
SelectMarker
var mar = new Marker();
mar.Position = new CLLocationCoordinate2D(22.6789, 88.4567);
mar.Title = "Home";
_mapViewProxy.SelectMarker(mar);
AddMarkers
var mar = new Marker();
mar.Position = new CLLocationCoordinate2D(22.6789, 88.4567);
mar.Title = "Home";
var mar1 = new Marker();
mar1.Position = new CLLocationCoordinate2D(22.6218, 88.4180);
mar1.Title = "Old Home";
_mapViewProxy.AddMarkers(new List<Marker>()
{
mar, mar1
});
AddMarkersForPlacesAsync
_mapViewProxy.AddMarkersForPlacesAsync(new List<string>()
{
"<Place_1>", "<Place_2>", "<Place_3>"
});
DrawRoutePolylinesAsync
_mapViewProxy.DrawRoutePolylinesAsync("<Place_1>", "<Place_2>", null, null);
FindDistancesAsync - signature
public async Task<JArray> FindDistancesAsync(List<string> startLocationsList,
List<string> endLocationsList,
Dictionary<string, string>
additionalParametersDictionary);
GetPlaceDetailsAsync - signature
public async Task<Dictionary<string, object>> GetPlaceDetailsAsync(
string placeIDString,
Dictionary<string, string>
additionalParametersDictionary);
GetPlacePhotoAsync - signature
public async Task GetPlacePhotoAsync(string placeIdString,
PlacePhotoCallback
photoCallback);
SearchForNearByPlaces - signature
public async Task SearchForNearByPlaces(string placeString,
string typeString,
CLLocationCoordinate2D location,
double radius,
Dictionary<string, string>
additionalParametersDictionary,
PlaceSearchCallback searchCallback);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Xamarin.iOS | xamarinios10 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
Xamarin.iOS 1.0
- Newtonsoft.Json (>= 11.0.2)
- Xamarin.Build.Download (>= 0.4.11)
- Xamarin.Google.iOS.Maps (>= 2.5.0.1)
- Xamarin.HttpConnection (>= 1.0.1)
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 |
---|---|---|
1.0.0 | 781 | 10/25/2018 |
1. Initial release for MapView omponent for iOS
2. Wraps Google Map view sdk
3. Not fully Thread safe