문제

I need to generate a link that opens up Google Maps and identifies an area based on a US Zip Code in the query string, preferably like below:

enter image description here

I tried to do it using this query string: https://maps.google.com/?q=us+90120

Appending the zip code at the end. But it doesn't always work. Right now, it's pointing to somewhere near Greenville. What's weird is that if you open up Google Maps and search "us 90210", it does point you to Beverly Hills.

Anything I should add to the query string? Or is the approach all wrong? I just need it to be simple. Any piece of information would be highly appreciated.

Thanks!

도움이 되었습니까?

해결책

You made a typo- the link goes to 90120, and therefore, Greenville, but you want to go to 90210, which is Beverly Hills.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top