All Projects → maximn → Google Maps

maximn / Google Maps

Licence: bsd-2-clause
Google Maps Web Services API wrapper for .NET

Projects that are alternatives of or similar to Google Maps

svelte-mapbox
MapBox Map and Autocomplete components for Svelte (or Vanilla JS)
Stars: ✭ 267 (+56.14%)
Mutual labels:  geocoding, maps, mapping, google-maps
google maps
🗺 An unofficial Google Maps Platform client library for the Rust programming language.
Stars: ✭ 40 (-76.61%)
Mutual labels:  geocoding, maps, google-maps, google-maps-api
Gmapsfx
Java API for using Google Maps within a JavaFX application.
Stars: ✭ 233 (+36.26%)
Mutual labels:  mapping, google-maps, maps
geocoder
Geocoder is a Typescript library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
Stars: ✭ 28 (-83.63%)
Mutual labels:  geocoding, google-maps, geocoder
Placepicker
Free Android Map Place Picker alternative using Geocoder instead of Google APIs
Stars: ✭ 126 (-26.32%)
Mutual labels:  google-maps, geocoder, maps
GoogleMapsHelper
An easy to integrate Model Based Google Maps Helper (SVHTTPClient, AFNetworking) That lets you Geo Code , Reverse Geocode, Get Directions , Places Autocomplete.
Stars: ✭ 21 (-87.72%)
Mutual labels:  maps, google-maps, geocoder
Maps Api For Javascript Examples
Self-contained examples for Maps API for JavaScript v3.
Stars: ✭ 130 (-23.98%)
Mutual labels:  mapping, geocoding, maps
Benmaps.fr
Web maps that don't track you.
Stars: ✭ 147 (-14.04%)
Mutual labels:  google-maps, geocoding, maps
Flask Googlemaps
Easy way to add GoogleMaps to Flask applications. maintainer: @RiverFount
Stars: ✭ 550 (+221.64%)
Mutual labels:  google-maps, google-maps-api, maps
Geo Golang
Go library to access geocoding and reverse geocoding APIs
Stars: ✭ 394 (+130.41%)
Mutual labels:  google-maps, geocoding, geocoder
HealthCare-Scan-Nearby-Hospital-Locations
I developed this android application to help beginner developers to know how to use Google Maps API and how to convert JSON data into Java Object.
Stars: ✭ 23 (-86.55%)
Mutual labels:  maps, google-maps, google-maps-api
Maplace.js
A Google Maps Javascript plugin for jQuery.
Stars: ✭ 1,021 (+497.08%)
Mutual labels:  google-maps, google-maps-api, maps
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (+332.16%)
Mutual labels:  google-maps, geocoding, google-maps-api
Examples
Self-contained examples for the legacy Maps API for JavaScript.
Stars: ✭ 78 (-54.39%)
Mutual labels:  mapping, geocoding, maps
Mapboxgeocoder.swift
Address search and reverse geocoding in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
Stars: ✭ 115 (-32.75%)
Mutual labels:  geocoding, geocoder
Fcipaddressgeocoder
iOS Geocoder for geocode device IP Address location using GeoIP service(s) and a block-based syntax. 💻🌍
Stars: ✭ 114 (-33.33%)
Mutual labels:  geocoding, geocoder
Azuremapscodesamples
A set of code samples for the Azure Maps web control.
Stars: ✭ 167 (-2.34%)
Mutual labels:  mapping, maps
Eon Map
Realtime maps with PubNub and MapBox.
Stars: ✭ 121 (-29.24%)
Mutual labels:  google-maps, maps
Osmscout Server
Maps server providing tiles, geocoder, and router
Stars: ✭ 105 (-38.6%)
Mutual labels:  geocoder, maps
Mobile Sdk
CARTO Mobile SDK core project
Stars: ✭ 116 (-32.16%)
Mutual labels:  geocoding, maps

Build Status NuGet Status

google-maps

Google Maps Web Services API wrapper for .NET

For Quickstart and more info read the wiki pages (https://github.com/maximn/google-maps/wiki)

The web page - http://maximn.github.com/google-maps

NuGet page - https://www.nuget.org/packages/GoogleMapsApi/

Check out my blog at http://maxondev.com

Quickstart

This library wraps Google maps API.

You can easily query Google maps for Geocoding, Directions, Elevation, and Places.

NEW! Now you can easily show the results on a Static Google Map!

This Library is well documented and easy to use.

Code sample -

using GoogleMapsApi;
using GoogleMapsApi.Entities.Common;
using GoogleMapsApi.Entities.Directions.Request;
using GoogleMapsApi.Entities.Directions.Response;
using GoogleMapsApi.Entities.Geocoding.Request;
using GoogleMapsApi.Entities.Geocoding.Response;
using GoogleMapsApi.StaticMaps;
using GoogleMapsApi.StaticMaps.Entities;

//Static class use (Directions) (Can be made from static/instance class)
DirectionsRequest directionsRequest = new DirectionsRequest()
{
    Origin = "NYC, 5th and 39",
    Destination = "Philladephia, Chesnut and Wallnut",
};

DirectionsResponse directions = GoogleMaps.Directions.Query(directionsRequest);
Console.WriteLine(directions);

//Instance class use (Geocode)  (Can be made from static/instance class)
GeocodingRequest geocodeRequest = new GeocodingRequest()
{
    Address = "new york city",
};
var geocodingEngine = GoogleMaps.Geocode;
GeocodingResponse geocode = geocodingEngine.Query(geocodeRequest);
Console.WriteLine(geocode);

// Static maps API - get static map of with the path of the directions request
StaticMapsEngine staticMapGenerator = new StaticMapsEngine();

//Path from previos directions request
IEnumerable<Step> steps = directions.Routes.First().Legs.First().Steps;
// All start locations
IList<ILocationString> path = steps.Select(step => step.StartLocation).ToList<ILocationString>();
// also the end location of the last step
path.Add(steps.Last().EndLocation);

string url = staticMapGenerator.GenerateStaticMapURL(new StaticMapRequest(new Location(40.38742, -74.55366), 9, new ImageSize(800, 400))
{
    Pathes = new List<GoogleMapsApi.StaticMaps.Entities.Path>(){ new GoogleMapsApi.StaticMaps.Entities.Path()
    {
            Style = new PathStyle()
            {
                    Color = "red"
            },
            Locations = path
    }}
});
Console.WriteLine("Map with path: " + url);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].