OK, I have my search field on the home page, and it's passing the
address to the map page, but the search is not happening correctly.

http://eheinz.yogoer.com

I put the php to catch the address in the head of the page:
$qs = $_REQUEST['address'];
if ($qs) {
        $searchterm=$qs;
} else {
        $searchterm="Enter your address";
}

and the javascript to search the map in the foot of the page, after
the mapmaker scripts are called:

<script type="text/javascript">
        initialize();
        showAddress('<?php echo $qs; ?>');
</script>

But you can see the map page loads the map, then loads the search,
then reloads the initial map. Any advice much appreciated, I'm still
learning javascript and PHP.



On Oct 26, 5:02 pm, Erica <[email protected]> wrote:
> Interesting, I didn't think about the legal part. Thanks!
>
> On Oct 26, 3:52 pm, Mike Williams <[email protected]> wrote:
>
> > The only problem that I can foresee is obtaining a suitable jpg map
> > image that you can legally use, and the simple workround to that is to
> > use a Google Static Map.
>
> > --
> > Mike Williamshttp://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to