🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

Xamarin.Google.Maps.Utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Xamarin.Google.Maps.Utils

Google Maps Utility SDK for Android and iOS

1.3.9
NuGet
Version published
Maintainers
1
Created
Source

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

Android Usage

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

Quadtree data structure

  • Geometry libraries - KML and GeoJSON rendering

Geometry libraries

  • Heatmaps - Heatmap rendering

Heatmaps

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:

Customize cluster and item markers

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.

KML and GeoJSON rendering

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.

Heatmap rendering

A map with a heatmap showing location of police stations

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

Keywords

maui

FAQs

Package last updated on 20 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts