@ryanforever/google-maps
v1.1.5
Published
google maps api
Downloads
1
Readme
google-maps
google maps API wrapper
quick start
const GoogleMaps = require("@ryanforever/google-maps")
const maps = new GoogleMaps({
key: process.env.GOOGLE_MAPS_API_KEY
})
maps.search("paris, france").then(console.log) // search for a location
maps.getPlaceDetails()
methods
maps.search("query")
maps.getPlaceDetails("placeId")
maps.parseAddressComponents([addressComponents])