All Projects → indrimuska → google-maps-api-typings

indrimuska / google-maps-api-typings

Licence: other
TypeScript typings for `@google/maps` Node.JS API project.

Projects that are alternatives of or similar to google-maps-api-typings

Trilateration
Trilateration system using 3 latitude and longitude points, and 3 radius distances in PHP, C#, Java and Javascript
Stars: ✭ 22 (+4.76%)
Mutual labels:  maps
s60-maps
Yet another maps for Symbian OS
Stars: ✭ 27 (+28.57%)
Mutual labels:  maps
rspatial-map-challenge-2020
A list of maps created for #30DayMapChallenge using #rspatial
Stars: ✭ 61 (+190.48%)
Mutual labels:  maps
vaguely-rude-places
The map of Vaguely Rude Place Names
Stars: ✭ 19 (-9.52%)
Mutual labels:  maps
Weltenschaft
Open-Source terrain generator 🗺️
Stars: ✭ 41 (+95.24%)
Mutual labels:  maps
react-map-gl-cluster
Urbica React Cluster Component for Mapbox GL JS
Stars: ✭ 27 (+28.57%)
Mutual labels:  maps
orange3-geo
🍊 🌍 Orange add-on for dealing with geography and geo-location
Stars: ✭ 22 (+4.76%)
Mutual labels:  maps
react-google-map
React component to render a map with markers from Google Maps API
Stars: ✭ 25 (+19.05%)
Mutual labels:  maps
jsfiddle-github
JSFiddle implementation for interactive JavaScript examples.
Stars: ✭ 16 (-23.81%)
Mutual labels:  maps
organicmaps
🍃 Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, and cyclists. It uses crowd-sourced OpenStreetMap data and is developed with love by MapsWithMe (MapsMe) founders and our community. No ads, no tracking, no data collection, no crapware. Your donations and positive reviews motivate and inspire our small team!
Stars: ✭ 3,689 (+17466.67%)
Mutual labels:  maps
PowerCollections
Powerfull Collections, Sets, Lists and Maps.
Stars: ✭ 15 (-28.57%)
Mutual labels:  maps
react-native-open-map
Choose the application that will open the map
Stars: ✭ 27 (+28.57%)
Mutual labels:  maps
osm-geojson
🔰 Get GeoJSON of a OpenStreetMap's relation from the API.
Stars: ✭ 42 (+100%)
Mutual labels:  maps
aic-mobile-ios
Art Institute of Chicago Official Mobile App
Stars: ✭ 29 (+38.1%)
Mutual labels:  maps
elm-mapbox
MapboxGL bindings for Elm
Stars: ✭ 55 (+161.9%)
Mutual labels:  maps
leaflet-draw-toolbar
Leaflet.toolbar for Leaflet.draw. Example: https://justinmanley.github.io/leaflet-draw-toolbar/examples/popup.html.
Stars: ✭ 55 (+161.9%)
Mutual labels:  maps
ScoutAR
Augmented reality app displays nearby restaurant information in a live camera and map view.
Stars: ✭ 28 (+33.33%)
Mutual labels:  maps
Xamarin.Android.Skobbler
C# bindings for the Skobbler Android SDK
Stars: ✭ 16 (-23.81%)
Mutual labels:  maps
mapgen
map generator stuff
Stars: ✭ 26 (+23.81%)
Mutual labels:  maps
cim-spec
This repository hosts the specification for the Cartographic Information Model
Stars: ✭ 45 (+114.29%)
Mutual labels:  maps

This package is now available in DefinitelyTyped: @google/maps

Google Maps API Typings

This project contains the TypeScript interface declaration of the @google/maps Node.JS API project.

It also provides inline documentation from the official Google Maps Documentation platform.

Google Maps API Typings Example

Installation

Just install both the official Google Maps API package and the Google Maps API Typings using npm:

npm i @google/maps
npm i google-maps-api-typings --save-dev

Usage

import 'google-maps-api-typings';
import { createClient } from "@google/maps";

const client = createClient({
    key: 'my-google-maps-api-key',
    language: 'jp',
    Promise: Promise
});

client
    .geocode({ address: 'Leaning Tower of Pisa' })
    .asPromise()
    .then(response => {
        response.json.results.forEach(result => {
            console.log(
                result.geometry.location
            );
        })
    });

This will output: { lat: 43.722952, lng: 10.396597 }.

Supported APIs

Note

Do not confuse the Google Maps Node.JS API with the Google Maps Javascript API.

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].