More about < and >
Below are two xml codes. The first uses < and > as html code
equivalents in order that the popup window format correctly.
<marker lat="44.18491" lng="-76.71855" html="<font size='2'
face='Arial'>Amherst Island Ferry<br>Millhaven to
Stella<br>3KM (2miles); Year-round" label="Amherst Island Ferry"
/>
Below is xml code from www.admaps.com/
It does not use the < and > and seems to work fine.
<marker lng="-89.25" lat="34.75" iconname="red small">
<infowindow><![CDATA[<div style="width:200px;"><font
style="font-size: 1.5em;">Red Icon, small</font></div>]]></infowindow>
<link><![CDATA[<img src="/images/icon-red-small.png" border=0> Marker
1:<font style="font-size: .8em;">Small Red Icon</font>]]></link>
</marker>
What is it about the latter code that allows for this? Is it the
enclosure of
<![CDATA[ ... ]]
Thanks
Richard
0 Comments:
Yorum Gönder
<< Home