Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngame1/uwpgmaps.sdk

Unofficial Google Map SDK for Universal Windows Platform (UWP)
https://github.com/ngame1/uwpgmaps.sdk

google-maps release sdk uwp windows-10

Last synced: about 1 month ago
JSON representation

Unofficial Google Map SDK for Universal Windows Platform (UWP)

Awesome Lists containing this project

README

        

# UWPGmaps.SDK

Unofficial Google Map SDK for Universal Windows Platform (UWP)

# What is supported
Offline Maps Downloading

Finding routes and directions

Geocoding and reverse-Geocoding

Photo helper (Convert Photo references to URI)

Place Helper (Add / Delete / TextSearch / Nearby Search / Place Auto Complete)

Tile API Helper (Premium APIKey needed)

# Related Links

[SDK NuGet package](https://www.nuget.org/packages/GMapsUWPSDK)

# How to use
This class library and also NuGet package (V1.5.0 and higher) are really easy to use .

Let's find a place address using it's Latitude and Longitude :

`var Address = await GMapsUWP.GeoCoding.GeocodeHelper.GetAddress(GEOPOINT_OF_A_LOCATION);`

OK Now you have Address of the mentioned place.

Let's get Directions between two points and show it on map :

`var Directions = await GMapsUWP.Directions.DirectionsHelper.GetDirections(origin_BasicGeoposition, Destination_BasicGeoposition);`

`var DirectionsPolyline = GMapsUWP.Directions.DirectionsHelper.GetDirectionAsRoute(Directions, Color_Of_Result_PolyLine);`

`Map.MapElements.Add(DirectionsPolyline);`

In this code Map is an instance of MapControl.

## Be sure using Google Maps API can't be easier :)