On Oct 6, 12:11 pm, patrick <[EMAIL PROTECTED]> wrote:
> Yep, the line breaks and URL links.  I am trying to recreate this:
>
> http://www.sarelayforlife.org/sc/relayfinder08.htmlusing XML like
> Mike shows in this tutorial:http://econym.org.uk/gmap/basic3.htm
>
> In this tutorialhttp://econym.org.uk/gmap/basic6.htmI cannot see the
> XML formatting needed to display things like URL links.  If you look
> at the map he says uses XML -http://econym.org.uk/gmap/example_map6b.htm
> - it does not use any formatting.

On the page:
http://econym.org.uk/gmap/basic3.htm
Did you read this:
==========================================================
XML attributes strings can't contain the characters < or >. You have
to use &lt; and &gt;, which will get converted to < and > as the XML
data is read.

Instead of using XML attributes, it's possible to lay out your XML
data like this:

   <markers>
     <marker lat="43.65654" lng="-79.90138" label="Marker One">
      <infowindow>Some stuff to display in the&lt;br&gt;First Info
Window</infowindow>
     </marker>
   </markers>
Or even like this, using CDATA:
   <markers>
     <marker lat="43.65654" lng="-79.90138" label="Marker One">
      <infowindow><![CDATA[
        Some stuff to display in the<br>First Info Window
      ]]></infowindow>
     </marker>
   </markers>
When using CDATA, is is not necessary to use &lt; and &gt; in the
contained HTML.
==========================================================

  -- Larry


>
> Patrick
>
> On Oct 6, 2:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Oct 6, 11:47 am, patrick <[EMAIL PROTECTED]> wrote:
>
> > > Ok, so I am working on a volunteer project for the American Cancer
> > > Society to display their fundraising walks in the state of South
> > > Carolina.  There are a lot of events and a lot of markers so I was
> > > trying to speed up the page load by using XML.  Using Mike William's
> > > great XML file, I have it loading up pretty fast but I am running into
> > > issues with trying to display the extra information in the info
> > > window.
>
> > > Here is the file I have set up:
>
> > >http://www.sarelayforlife.org/test/working.html
>
> > > Here is what I am trying to make it look 
> > > like:http://www.sarelayforlife.org/sc/relayfinder08.html
>
> > > Any suggestions on formatting the info window in the 1st link to make
> > > it display what apprears in the info window in the 2nd link?
>
> > Did you read the tutorial?
> > Part 3 Loading the data from an XML filehttp://econym.org.uk/gmap/basic3.htm
> > and
> > Part 6 Images and Links in info
>
> > There are 2 options in there for how to do what you are asking.  I
> > don't see an attempt at either in the page that you posted a link to.
> > What trouble are you having with just putting the content
> > (appropriately encoded) in the xml file?
>
> >   -- Larry- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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