Hello Pavan,
we are not getting the address from the user..
actually, what i am thinking is: The user will enter his City or zip
code in the front page and it will be stored in a php variable then
the next page will have the google maps embedded with the variable in
the link..
like: http://maps.google.com/somestuff/location?=<?php echo $zipcode;?
>/SomeOtherStuff

i saw this on some site but i'm not able to find the link now..
can you do something like this?


On Sep 2, 2:25 pm, Pavan Kumar Seethamraju
<aswinipavan.seethamr...@gmail.com> wrote:
> hi Alkshendra ,
>
> As you are getting the Address, you will get the latlong of it using
> the GeoCode Address method of the Javascript Api V2 for gMaps. Now
> send this geoLocation Co-ordinates(LatLong Values) to the Next Page
> Using a queryString(in Simple) or save it in a session variable and
> get the Location in the Second Page.
>
> For the Location to Be Visible on the map.. In the Page load event
> Call the Map and Add marker with the LatLong Value that you have got
> via the QueryString/Session Variable.
>
> On 9/2/11, Alkshendra <alcoolc...@gmail.com> wrote:
>
>
>
>
>
>
>
> > i have a site i'm working on currently. front page will ask user for
> > his zip code or address and take him to the second page..
> > now, i need the second page the second page will show a big map that
> > will show the location based on the zip code he entered on the first
> > page.
>
> > how can i do this?
>
> > here is a link of the site:
> >http://balanced-digestive-system.com/searchbox/files/index.html
>
> > Thanks :)
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps API V2" group.
> > To post to this group, send email to google-maps-api@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-api+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to