On Jan 19, 11:53 am, JavaNewbie <[email protected]> wrote:
> I am trying to create a map that will display markers (with name and
> address with a To here, from here directions links).
>
> My data is coming from a SQL Server search that is queried against our
> database for qualifying results, for example; the user inputs a zip
> code and all qualifying doctors within the zip code show up. What I
> would like to do, is show a marker with the above information for each
> doctor.
>
> So far I have gotten this to work by creating a hidden field via
> vbscript, then parsing the hidden field values (names, address - bar
> (|) delimited) and displaying the markers.
>
> My problem is, not all the results are showing (out of 17 search
> results, 7 will appear, I'm assuming this is because the loop is too
> fast for geocode to return a value), and my marker tags will only
> display the last address in the loop (no name at all).

See Mike Williams' tutorial for his explanation of the problem:
Part 17 Geocoding multiple addresses
http://econym.org.uk/gmap/geomulti.htm

>
> I know that the preferred way would be to read an XML file, but in
> this situation, I don't believe that to be a viable option. Although I
> did try putting XML in a hidden field with no success.

The prefered solution is an xml "feed" created on the fly from the
database based on query parameters (using AJAX).

>
> Unfortunately for me, I'm not a javascript coder. Any help here would
> be greatly appreciated.

That will make using the API challenging, but not impossible.

  -- Larry
--~--~---------~--~----~------------~-------~--~----~
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