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

load-google-maps

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

load-google-maps

Load the Google Maps JS API

1.0.0
latest
Source
npm
Version published
Weekly downloads
4
-63.64%
Maintainers
1
Weekly downloads
 
Created
Source

load-google-maps Build Status

Load the Google Maps JS API

Install

$ npm install --save load-google-maps

Usage

var Google = require('load-google-maps')

Google({libraries: ['places']}, function (err, google) {
  //=> google.maps...  
})

API

Google([options], callback) -> undefined

options

Type: object
Default: {}

All supported Google options, including:

  • key
  • libraries (array)
  • client
  • version
  • channel
  • language
  • region
callback

Required
Type: function
Arguments: err, google

A callback called with the Google Maps library once loaded.

License

MIT © Ben Drucker

Keywords

google

FAQs

Package last updated on 02 Mar 2016

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