Excellent - I did not know you could place the CDATA tag inside the
XML document itself - this makes things much easier.

Now that we have a JQuery model pulling through XML data, and an
accordion menu, would it be possible to use the JavaScript links in
the side_bar menu to create start and end points for a multi-point
routing directions on the map itself (http://econym.org.uk/gmap/
example_multi2.htm)?

This would be an ideal feature, where I would create more markers
indicating the key subway and rail stations near the camps (e.g.
Warren Street, Goodge Street, Euston, St Pancras International and
Kings Cross stations), and have a category in the side_bar called
'Transport/How to find us'.  Visitors would then click on one of the
stations as a start point and then a place or department on the UCL
campus as an end point, then click an 'ask for directions button', a
box would then reveal printable directions of how to get there.

Or is this now at a point where it is better to start with a plain
Campus map and lose the virtual tour videos and tabs?

Thanks

Gray

On May 18, 1:21 am, William <[email protected]> wrote:
> On May 18, 7:29 am, gray37 <[email protected]> wrote:> This is really 
> great, however, I am afraid I really do need to add
> > just text in the second tab, as I have requests from departments for
> > text, and links to their individual pages in the second tab.  I have
> > tried adding normal text following your formula, but am afraid I am
> > coming up with errors.
>
> the way to avoid errors is to use the CDATA tag inside the XML
> document.  This tells the XML parser to ignore the text, and allows
> you to put HTML content inside the XML file
>
> <campus>
>   <location
>     title="UCL: Front Quad"
>     menu="Front Quad"
>     category="UCL CAMPUS"
>     video="FrontQuad_out.swf"
>     lat="51.52453218968203"
>     lng="-0.13402462005615234"><![CDATA[
> <p>In 1827, a year after the founding of UCL,
> construction of the <strong>Main Building</strong> ...
> ...
> ]]></location>
>
> See the following map where the Front Quad video includes html from
> Wikipedia in the second tab:
>
> http://www.william-map.com/20100518/1/cdata.htm
>
> ....
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

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