Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Maintainers
1
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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc