项目作者: kocicjelena

项目描述 :
Google-Maps-API-
高级语言: JavaScript
项目地址: git://github.com/kocicjelena/Google-Maps-API-.git
创建时间: 2017-06-20T11:09:07Z
项目社区:https://github.com/kocicjelena/Google-Maps-API-

开源协议:

下载


@google/maps

Test _ Google Maps API for web services

webpack

=> json in console for ‘1600 Amphitheatre Parkway, Mountain View, CA’
place_id for the same address is on the screen

Test _ Google Maps API for web

map is not loaded yet, npm @google/maps test:

var googleMapsClient = require(‘@google/maps’).createClient({ key: ‘your API key here’ });

// Geocode an address. googleMapsClient.geocode({ address: ‘1600 Amphitheatre Parkway, Mountain View, CA’ }, function(err, response) { if (!err) { console.log(response.json.results); } });

p.s. ‘your API key here’ will be deleted and dist will be wrong webpack-ed then

dev for future dist: https://kocicjelena.github.io/gmaps_placesapi/