Google maps api 3 我可以从谷歌地图API获取该城市的人口和区号吗

Google maps api 3 我可以从谷歌地图API获取该城市的人口和区号吗,google-maps-api-3,Google Maps Api 3,我有这个密码 address = "11533" geocoder.geocode({"address" : address}, function(results, status) { if(status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location);

我有这个密码

address = "11533"
geocoder.geocode({"address" : address}, function(results, status)
            {
                if(status == google.maps.GeocoderStatus.OK)
                {
                    map.setCenter(results[0].geometry.location);
                    var marker = new google.maps.Marker({
                        map: map,
                        position: results[0].geometry.location
                    });

                    var str = results[0].formatted_address + "";
                    var info = new google.maps.InfoWindow({
                        content : str
                    });
                    google.maps.event.addListener(marker, "click", function()
                    {
                        info.open(map, marker);
                    });
                }
                else
                    alert("Error in address");
我想添加有关该市人口及其区号的信息。有什么帮助吗


感谢谷歌地图API v3中没有相关信息(人口和区号)。您需要为此找到一个数据源(它可能在FusionTables中公开提供)。在美国,人口可以从人口普查中公开获得。不确定从何处获取区号。

对于获取人口的免费外部API,我建议WolframAlpha()或FullContact()Wolfram从WikiData获取数据。只要使用维基数据;它甚至有免费的API。