问题
Recently I've been having issues retrieving static maps on my iPhone when connected to the AT&T wireless network. But, when I connect to a local WiFi is works fine.
For several hours last Sunday is stopped working and then it started to work for the rest of the evening, then today I see that it has stopped working again.
I'm just using the safari browser to test that I can download the static map, it returns the quota has been exceeded image. But, there is no way I've exceeded the quota.
http://maps.googleapis.com/maps/api/staticmap?center=40.703049,-74.010695&zoom=16&format=jpg&sensor=false&size=512x512&maptype=roadmap
Is anyone else having the same issue? I've reproduced the issue with several other apple devices that are connected the the AT&T wireless network.
Thanks!
回答1:
This is a known problem. It's caused by mobile providers routing all internet requests through a few static IP addresses. Handsets are terminals within their own internal network (and generally have a 10.n.n.n IP address), and all traffic is routed through external-facing proxy servers.
There is no way around it other than
- persuade Google to whitelist AT&T's proxy servers
- persuade AT&T to use more proxy servers
- vote with your feet to use a service provider which has more proxy servers
来源:https://stackoverflow.com/questions/10420327/google-static-maps-via-iphone-connected-to-att-wireless-network-not-working