Hi, Sorry, I should've been clearer. I know how to create the iframe itself, but how can I obtain the exact link the Google Map creates of the address itself? For example, if I type in 'Canary Wharf' in Google Maps, the email link is:
http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=Canary+Wharf+&sll=51.50358,-0.019382&sspn=0.010846,0.01929&g=Canary+Wharf+tube+station,+Poplar,+Greater+London+E14,+United+Kingdom&ie=UTF8&hq=&hnear=Canary+Wharf,+The+South+Colonnade,+Poplar,+Greater+London+E14+5,+United+Kingdom&ll=51.507223,-0.017692&spn=0.002711,0.004823&z=18 How can I generate that link using the Maps API? For example, the sll value, sspn value etc.. The user only provides the "Canary + Wharf" section of the above code. The rest (South Colonnade, Poplar, Greater London, E14 5, UK) is created by Google. Can I retrieve all these values from the API?] Thanks On Apr 1, 10:40 am, Rossko <[email protected]> wrote: > > I'm new to Google Maps API. I'm creating a web application in ASP.NET > > and have a form where the user enters their address. How can I > > dynamically create an iframe where the focus automatically on the > > user's address? > > No idea, not a maps question. Ask in an ASP.NET forum > > > Also, how can I validate a given embed link to ensure that it actually > > is a Google Maps link and not an iframe link to a fake/dangerous > > site? > > No idea etc. Perhaps by parsing the url and looking for a valid > Google domain in whatever code you are using. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
