Monday, May 17, 2010

Re: Overlay mashup errors: clickable sidebar with virtual tour videos

On May 18, 7:29 am, gray37 <sa...@spoilmewith.com> 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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate