On my site I'm using Ajax to load the content of the infowindow when a
marker is clicked. Check it out on http://www.archill.net/kaart.php
and click one of the dots. When a marker is clicked a xmlhttp request
is send to a PHP script mapxml.php that in turn returns a bit of XML
containing the content of the infowindow. See the function HandleClick
() in map.js on my site.

Regards,
Arjan


On 13 jan, 01:56, Allan Rogers <[email protected]> wrote:
> I am using an XML file to load up approximately 40 points on a map.  I
> am using
> <marker lat="36.11428610444692" lng="-115.17233848571777"
> label="Place1" html="This is place 1" iconlocation="/images/
> place1.png" iconWidth="71" iconHeight="31"/>
> For each marker.
>
> What I would like to do is use a seperate, external html file to
> populate the info window for each point on the map.  I could use an
> iframe, or an <!--#include virtual="/include/index.html"--> to include
> an html file.  The reason for this is that I have a group of 40+
> people who will want to update the content of the info window
> regularly, and I don't want them going into the xml file all the time,
> as they are mostly non technical folks.  I tried
> <marker lat="36.11773558007828" lng="-115.17765998840332" label="Place
> 2"  iconlocation="/images/place2.png" iconWidth="89"
> iconHeight="34">
> <infowindow><![CDATA[
>                 <iframe src ="/include/place2.html" width="100%" 
> height="300px">
> </iframe>
>       ]]></infowindow>
> </marker>
> but it looks like this won't work.
>
> Sorry for my newbishness.  Any help would be greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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