Xamarin.Google.Maps.Utils
1.3.9
dotnet add package Xamarin.Google.Maps.Utils --version 1.3.9
NuGet\Install-Package Xamarin.Google.Maps.Utils -Version 1.3.9
<PackageReference Include="Xamarin.Google.Maps.Utils" Version="1.3.9" />
paket add Xamarin.Google.Maps.Utils --version 1.3.9
#r "nuget: Xamarin.Google.Maps.Utils, 1.3.9"
// Install Xamarin.Google.Maps.Utils as a Cake Addin #addin nuget:?package=Xamarin.Google.Maps.Utils&version=1.3.9 // Install Xamarin.Google.Maps.Utils as a Cake Tool #tool nuget:?package=Xamarin.Google.Maps.Utils&version=1.3.9
Xamarin.Google.Maps.Utils
This is a set of Xamarin bindings of Google Maps Utils for iOS and Android
This open-source library contains utilities that are useful for a wide range of applications using the Google Maps Android API and Google Maps SDK for iOS.
Table of Contents
Installation
The latest stable release of the AffirmSDK is available on NuGet.
Example
A demo app that integrates Affirm is included in the repo. You may clone the GitHub repository into a new Visual Studio project folder and run the Examples project.
Google Maps Utils Android
Usage Overview
- Marker clustering — handles the display of a large number of points
- Heat maps — display a large number of points as a heat map
- IconGenerator — display text on your Markers
- Poly decoding and encoding — compact encoding for paths, interoperability with Maps API web services
- Spherical geometry — for example: computeDistance, computeHeading, computeArea
- KML — displays KML data
- GeoJSON — displays and styles GeoJSON data
For more information, check out the detailed guide on the Google Developers site. You can also view the generated reference docs for a full list of classes and their methods.
Google Maps Utils iOS
Usage Overview
- Marker clustering — handles the display of a large number of points
- Quadtree data structure - indexes 2D geometry points and performs 2D range queries
- Geometry libraries - KML and GeoJSON rendering
- Heatmaps - Heatmap rendering
Customize cluster and item markers
As of version 1.1.0 we have added new features for easy customization of markers. There is a new delegate GMUClusterRendererDelegate on GMUDefaultClusterRenderer
which allows developers to customize properties of a marker before and after it is added to the map. Using this new delegate you can achieve something cool like this:
See CustomMarkerViewController for the implementation.
KML and GeoJSON rendering
As of version 2.0.0 we have added new features for rendering KML and GeoJSON inputs. This first version supports common geometries like Point, Polyline, Polygon, GroundOverlay. Please note that this version does not support interaction with the rendered geometries.
The following screenshot shows a demo of a KML file being rendered on the map. See KMLViewController for how to use the new APIs.
Heatmap rendering
As of version 2.1.0 we have added new features for rendering heatmaps. Heatmaps make it easy for viewers to understand the distribution and relative intensity of data points on a map. Rather than placing a marker at each location, heatmaps use color to represent the distribution of the data.
In the example below, red represents areas of high concentration of police stations in Victoria, Australia.
A map with a heatmap showing location of police stations
For more information, check out the detailed guide on the Google Developers site.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-android34.0 is compatible. net8.0-ios17.2 is compatible. |
-
net8.0-android34.0
- Xamarin.GooglePlayServices.Maps (>= 118.2.0.3)
- Xamarin.Kotlin.StdLib (>= 1.9.23.1)
-
net8.0-ios17.2
- AdamE.Google.iOS.Maps (>= 9.1.1.2)
- Xamarin.Build.Download (>= 0.11.4)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Xamarin.Google.Maps.Utils:
Package | Downloads |
---|---|
Iratrips.MapKit
Iratrips.Mapkit lets you customize pins, add overlays, calculate routes, search place predictions, cluster pins and more! |
|
Onion.Maui.GoogleMaps.Clustering
Helper library for Onion.Maui.GoogleMaps to support clustering |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.3.9 | 3,593 | 10/20/2024 |
1.3.8 | 7,751 | 5/27/2024 |
1.3.7 | 114 | 5/26/2024 |
1.3.6 | 112 | 5/26/2024 |
1.3.5 | 115 | 5/23/2024 |
1.3.4 | 11,014 | 8/30/2022 |
1.3.3 | 1,188 | 8/30/2022 |
1.3.2 | 1,184 | 8/30/2022 |
1.3.1 | 1,124 | 8/30/2022 |
1.3.0 | 1,204 | 8/30/2022 |
1.2.9 | 1,170 | 8/30/2022 |
1.2.8 | 1,227 | 8/30/2022 |
1.2.7 | 1,187 | 8/30/2022 |
1.2.6 | 1,153 | 8/30/2022 |
1.2.5 | 1,227 | 8/30/2022 |
1.2.4 | 1,146 | 8/30/2022 |
1.2.3 | 1,160 | 8/30/2022 |
1.2.2 | 1,176 | 8/30/2022 |
1.2.1 | 1,267 | 8/30/2022 |
1.2.0 | 1,245 | 8/30/2022 |
1.1.9 | 1,215 | 8/30/2022 |
1.1.8 | 1,228 | 8/30/2022 |
1.1.7 | 1,160 | 8/30/2022 |
1.1.6 | 1,137 | 8/30/2022 |
1.1.5 | 1,228 | 8/30/2022 |
1.1.4 | 1,262 | 8/30/2022 |
1.1.3 | 1,231 | 8/30/2022 |
1.1.2 | 3,084 | 8/19/2022 |
1.1.1 | 1,755 | 8/19/2022 |
1.1.0 | 1,699 | 8/19/2022 |
1.0.9 | 1,566 | 8/19/2022 |
1.0.8 | 1,606 | 8/19/2022 |
1.0.7 | 1,656 | 8/19/2022 |
1.0.6 | 1,737 | 8/18/2022 |
1.0.5 | 1,741 | 8/15/2022 |
1.0.4 | 1,732 | 8/15/2022 |
1.0.3 | 1,644 | 8/11/2022 |
1.0.2 | 1,190 | 8/10/2022 |
1.0.1 | 1,379 | 8/10/2022 |
1.0.0 | 72,639 | 7/19/2018 |
Native Library version:
[iOS] GoogleMapsUtils 3.2.1
[Android] GoogleMapsUtils 3.8.2