开发者

google.loader.ClientLocation: What does it return for "region" for US users?

开发者 https://www.devze.com 2022-12-21 10:26 出处:网络
I can\'t seem to find this info anywhere: When you get geo info about a user who\'s in the US through Google AJAX APIs, does google.loader.ClientLocation.address.region return the full state name (e.g

I can't seem to find this info anywhere: When you get geo info about a user who's in the US through Google AJAX APIs, does google.loader.ClientLocation.address.region return the full state name (e.g. "California") or the abbreviation ("CA")?

If you're in the US: What result do you get for "Region" on http开发者_高级运维://www.thewhyandthehow.com/javascript-geolocation-using-google-ajax-apis/ (in the line that starts with "I’ve added one here")?

Thanks in advance.


I get the abbreviation "CA" here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号