Xamarin.Google.Maps.Utils 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Xamarin.Google.Maps.Utils --version 1.0.2                
NuGet\Install-Package Xamarin.Google.Maps.Utils -Version 1.0.2                
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.Google.Maps.Utils" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Google.Maps.Utils --version 1.0.2                
#r "nuget: Xamarin.Google.Maps.Utils, 1.0.2"                
#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.Google.Maps.Utils as a Cake Addin
#addin nuget:?package=Xamarin.Google.Maps.Utils&version=1.0.2

// Install Xamarin.Google.Maps.Utils as a Cake Tool
#tool nuget:?package=Xamarin.Google.Maps.Utils&version=1.0.2                

Xamarin.Google.Maps.Utils

NuGet Badge

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

<p align="center"><img width="90%" vspace="20" src="https://cloud.githubusercontent.com/assets/1950036/6629704/f57bc6d8-c908-11e4-815a-0d909fe02f99.gif"></p>

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

<p align="center"><img width="90%" vspace="20" src="https://cloud.githubusercontent.com/assets/16808355/16646253/77feeb96-446c-11e6-9ec1-19e12a7fb3ae.png"></p>

  • Geometry libraries - KML and GeoJSON rendering <p align="center"><img width="90%" vspace="20" src="https://cloud.githubusercontent.com/assets/16808355/25834988/ca7c3566-34be-11e7-8f07-16c3ae9de63a.png"></p>

  • Heatmaps - Heatmap rendering <p align="center"><img width="90%" vspace="20" src="https://user-images.githubusercontent.com/16808355/30678820-54243eb6-9ed8-11e7-81b4-c1afe3df37b3.png"></p>

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:

<p align="center"><img vspace="20" src="https://cloud.githubusercontent.com/assets/16808355/18979908/62b15fe2-8712-11e6-9931-cd66fae38cba.png"></p>

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.

<p align="center"><img vspace="20" src="https://cloud.githubusercontent.com/assets/16808355/25834988/ca7c3566-34be-11e7-8f07-16c3ae9de63a.png"></p>

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.

<p align="center"> <img src="https://developers.google.com/maps/documentation/ios-sdk/images/heatmap-ios.png" width="250" alt="A map with a heatmap showing location of police stations"> </p>

For more information, check out the detailed guide on the Google Developers site.

Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid11.0 is compatible. 
Xamarin.iOS xamarinios10 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 2,432 10/20/2024
1.3.8 7,488 5/27/2024
1.3.7 110 5/26/2024
1.3.6 108 5/26/2024
1.3.5 111 5/23/2024
1.3.4 10,982 8/30/2022
1.3.3 1,185 8/30/2022
1.3.2 1,181 8/30/2022
1.3.1 1,121 8/30/2022
1.3.0 1,201 8/30/2022
1.2.9 1,167 8/30/2022
1.2.8 1,224 8/30/2022
1.2.7 1,182 8/30/2022
1.2.6 1,150 8/30/2022
1.2.5 1,224 8/30/2022
1.2.4 1,141 8/30/2022
1.2.3 1,157 8/30/2022
1.2.2 1,173 8/30/2022
1.2.1 1,264 8/30/2022
1.2.0 1,242 8/30/2022
1.1.9 1,212 8/30/2022
1.1.8 1,225 8/30/2022
1.1.7 1,157 8/30/2022
1.1.6 1,134 8/30/2022
1.1.5 1,225 8/30/2022
1.1.4 1,259 8/30/2022
1.1.3 1,228 8/30/2022
1.1.2 3,081 8/19/2022
1.1.1 1,752 8/19/2022
1.1.0 1,696 8/19/2022
1.0.9 1,563 8/19/2022
1.0.8 1,603 8/19/2022
1.0.7 1,653 8/19/2022
1.0.6 1,734 8/18/2022
1.0.5 1,738 8/15/2022
1.0.4 1,725 8/15/2022
1.0.3 1,641 8/11/2022
1.0.2 1,185 8/10/2022
1.0.1 1,376 8/10/2022
1.0.0 72,590 7/19/2018

Suppport AndroidX packages:
[iOS] GoogleMapsUtils 2.1.0
[Android] GoogleMapsUtils 0.6.1