But I'm not sure about other parameters. Except parameter "q=", we can see many other parameters from google maps link address, like "spn","sll","hl"...
Which parameters are necessary? Or have any document about detailed parameters?
Sorry I'm a newcomer here, also newcomer to Google Maps. But what's the meaning of abr. "TOS"? I know my question is not fit for Google-Maps-API's territory, but seems no other place to ask such a question.
By using the link the way your intending, that constitutes a geocoder and that's strictly forbidden. You can use the links on the maps as they are generated by the Google mapping program, but you cannot automate the process without violating the rules. Google states in the TOS that violaters will be shut off. Personally, I wouldn't want to awake a sleeping giant...
I do not mean to "geocoder" anything. I just want to know whether I can display google maps of certain ADDRESS by such link: "http://maps.google.com/maps?q=ADDRESS". or are there any other parameters necessary except "q=ADDRESS"?
(And I don't use this link inside a web page, I'd like to open browser and execute it from C program. But the usage cares nothing about the link itself all)
If you just pass the ?q=ADDRESS parameter you end up with what someone
would see if they typed that address into the search box on the
maps.google.com webpage. The other parameters give you more control over
what gets displayed.
Here are some of the parameters. There may well be many more
ll Latitude and longitude of the centre point (note the order!)
spn Approximate lat/long span. The zoom level will be adjusted to fit.
hl Sets the language. &hl=fr forces the associated text to be in French instead of using the user's default language.
t Sets the map type. &t=k for satellite, &t=h for hybrid
saddr Source address for driving directions
daddr Destination address for driving directions
num Maximum number of matches to display
start Skips the nearest (start-1) matches
I try this http://maps.google.com/maps?oi=map&q=10%20market%20st,%20san%20francisco,%20CA%2094111 It doesn't work. Why "oi=map&" is needed? I'd like to know more about the parameter.
add http:// to this and you get George's vacation home (lol) Put + instead of spaces inbetween the elements.
Why? Ask Google, but the previous code works in my GoldMine application. The hard part is that as Google progresses in its maps development, somethings will stop working, but the previous code I probably forgot to take all the GoldMine related code out.