这里说的不是设置变量给bash/shell来用, 而是给程序使用, 比如, chromium自36版以后, 就不再内置google api keys, 官方文档(http://www.chromium.org/developers/how-tos/api-keys)说明你打包的时候没有添加key的话, 可以在runtime添加, 比如在系统的环境变量里添加进去. Providing Keys at Runtime If you prefer, you can build a Chromium b
1.查看API实现 //虽然比较符合API实现的思想但这个没法; //会产生Uncaught TypeError: undefined is not a function //google API no example to using it var icon = new google.maps.Icon({ anchor:new google.maps.Point(0,0), origin:new google.maps.Point(0,0), scaledSize: new google.m