You can download Mike's example.xml file used to fill out the
infoWindow from his web site
http://econym.org.uk/gmap/example.xml
This is a simple xml file, you can format the xml file as you want,
however you wil need some javascript knowledge to parse the data in
the xml file to suit your needs.

I noticed that your original post links to a web page containing an
embedded My Map. Are you trying to switch from this to an API-based
map? Again, you will need javascript knowledge to accomplish this.
Embedded My Maps do not have as much flexibility to change their
behavior, specifically, I am not sure if you could make the direction
search results open in a different window as you asked.
See if there is a parameter that will accomplish this in this list
http://mapki.com/wiki/Google_Map_Parameters#Directions

On Jan 2, 2:40 pm, Julie <[email protected]> wrote:
> I'm not familiar with XML yet, I only learned HTML and CSS. Would you
> show me an example format what should be in the XML file?
>
> On Jan 2, 2:33 pm, Bocha10 <[email protected]> wrote:
>
> > In Mike's example the data is read from an xml file to generate the
> > markers and sidebar.
> > Look for the line
> > request.open("GET", "example.xml", true);
> > in your code or Mike's.
> > That file is not present in your web site, so only the map is drawn.
>
> > On Jan 2, 2:21 pm, Julie <[email protected]> wrote:
>
> > >http://riochurch.com/maptest.html
>
> > > I can't seem to figure out what I did wrong.
> > > It does not show the link to choose a "To location"
>
> > > On Jan 2, 2:10 pm, "[email protected]" <[email protected]>
> > > wrote:
>
> > > > On Jan 2, 1:50 pm, Julie <[email protected]> wrote:> How do I change 
> > > > the location to have a default "Start From" address?
>
> > > > Change the value="" in this line:
> > > > (in the to_htmls[i] =...)
> > > > '<input type="text" SIZE=40 MAXLENGTH=40 name="saddr" id="saddr"
> > > > value="" /><br>'
>
> > > > to be the default address you desire.
>
> > > >   -- Larry
>
> > > > > On Jan 2, 1:38 pm, "[email protected]" <[email protected]>
> > > > > wrote:
>
> > > > > > On Jan 2, 1:35 pm, Julie <[email protected]> wrote:
>
> > > > > > > Can you show me an example how the code should be? Im not too 
> > > > > > > sure how
> > > > > > > API works.
>
> > > > > > The example from that page of Mike's 
> > > > > > tutorial:http://econym.org.uk/gmap/example_map4c.htm
> > > > > > (View:Source)
>
> > > > > >   -- Larry
>
> > > > > > > On Jan 2, 1:21 pm, "[email protected]" <[email protected]>
> > > > > > > wrote:
>
> > > > > > > > On Jan 2, 1:05 pm, Julie <[email protected]> wrote:
>
> > > > > > > > > How can I do this?
> > > > > > > > > It shows the search results within their own page.
>
> > > > > > > > >http://safetnow.com/map.php
>
> > > > > > > > > This is what I 
> > > > > > > > > have:http://www.riochurch.info/central_contactus.html
>
> > > > > > > > > If someone can help me with this, I will tip $5 with paypal.
>
> > > > > > > > > I went over my head and made a promise I was not able to 
> > > > > > > > > complete.
> > > > > > > > > I don't know anything about javascript or API and I can't find
> > > > > > > > > anything from search engines.
>
> > > > > > > > See Mike Williams' tutorial:
> > > > > > > > Part 26 Get directions on your own 
> > > > > > > > maphttp://econym.org.uk/gmap/directions.htm
>
> > > > > > > >   -- 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