logo       

Re: dynamically load marker from static page: msg#03263

GoogleMapsAPI

Subject: Re: dynamically load marker from static page


> ummm...so what would my link be...this?
> <?
> <a href='http://wesco.jp-clients.com/branch_locate/index.php?branch_id=
> $branch_id'><strong>$name</strong></a><br/>
> ?>

Yes. That would get you only a blank map still.
So you'd have to modify the javascript in index.php to do something
like

initialize map as usual
get the querystring
if - branch_id is set, do the fetch : something very like
searchLocationsNear() but using branch_id
else - wait for user form input as before, for centre/radius search

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

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise