Widget:CJPSandbox: Difference between revisions

Jump to navigation Jump to search
Christopher Popma (talk | contribs)
No edit summary
Christopher Popma (talk | contribs)
No edit summary
Line 1: Line 1:
 
<?xml version="1.0" encoding="UTF-8"?>
=Heading 1=
<kml xmlns="http://earth.google.com/kml/2.2">
 
<Document>
This is just plain text. Nothing special here.
  <name>Amsterdam</name>
 
  <description><![CDATA[]]></description>
==Heading 2==
  <Style id="style3">
 
    <IconStyle>
I think under this heading we should make a few more general comments.
      <Icon>
 
        <href></href>
===Heading 3===
      </Icon>
 
    </IconStyle>
Now under '''''Heading Three''''', which we have bolded and italicized, I think we should also include a bulleted list. For example:
  </Style>
 
  <Style id="style4">
* Item 1 on our list
    <IconStyle>
* A second item
      <Icon>
** This time we are indented
        <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
** This is pretty common
      </Icon>
*** However, so is having three indentations.
    </IconStyle>
 
  </Style>
====Heading 4====
  <Style id="style5">
 
    <IconStyle>
One of the things I am interested in is how this will do with numbered lists.
      <Icon>
 
        <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
# This is also a good time to test the nowiki functionality
      </Icon>
# <nowiki>If I type [[Aortic Stenosis]], what will appear?</nowiki>
    </IconStyle>
## Aortic Stenosis as an internal hyperlink
  </Style>
## &lt;nowiki<nowiki>&gt;[[Aortic Stenosis</nowiki>]]&lt;/nowiki&gt; as just the isolated formatting
  <Style id="style2">
## <nowiki>Or lastly [[Aortic Stenosis]] with the hyperlink automatically created to Aortic Stenosis, but not including the brackets</nowiki>
    <LineStyle>
 
      <color>73FF0000</color>
=====Heading 5=====
      <width>5</width>
 
    </LineStyle>
If I want to indent just a few things without bulleting or enumerating, will tabs be translated?
  </Style>
 
  <Style id="style1">
    Such as this
    <IconStyle>
 
      <Icon>
            Or really this
        <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
 
      </Icon>
======Heading 6======
    </IconStyle>
 
  </Style>
Lastly. What’s the deal with font colors?
  <Placemark>
 
    <name>Hotel Room Mate Aitana</name>
 
    <styleUrl>#style3</styleUrl>
 
    <Point>
{| class="prettytable"
      <coordinates>4.894012,52.384258,0.000000</coordinates>
|-
    </Point>
|
  </Placemark>
Oh yeah
  <Placemark>
 
    <name>RAI Amsterdam</name>
|
    <description><![CDATA[]]></description>
 
    <styleUrl>#style4</styleUrl>
 
    <Point>
|
      <coordinates>4.889986,52.341953,0.000000</coordinates>
What
    </Point>
 
  </Placemark>
|
  <Placemark>
 
    <name>From: RAI Amsterdam, Europaplein, 1078 GZ Amsterdam, Netherlands</name>
 
    <description><![CDATA[]]></description>
|-
    <styleUrl>#style5</styleUrl>
|
    <Point>
 
      <coordinates>4.890671,52.340965,0.000000</coordinates>
 
    </Point>
|
  </Placemark>
 
  <Placemark>
 
    <name>Driving directions to Hotel Room Mate Aitana @52.384257,4.894012</name>
|
    <description><![CDATA[]]></description>
 
    <styleUrl>#style2</styleUrl>
 
    <ExtendedData>
|
      <Data name="_SnapToRoads">
 
        <value>true</value>
 
      </Data>
|-
    </ExtendedData>
|
    <LineString>
 
      <tessellate>1</tessellate>
 
      <coordinates>
|
        4.890671,52.340965,0.000000
 
        4.890654,52.340843,0.000000
 
        4.892152,52.340759,0.000000
|
        4.892152,52.340759,0.000000
About
        4.891774,52.337868,0.000000
 
        4.891774,52.337868,0.000000
|
        4.891630,52.337669,0.000000
 
        4.891533,52.337608,0.000000
 
        4.891415,52.337589,0.000000
|-
        4.891247,52.337608,0.000000
|
        4.889673,52.338448,0.000000
 
        4.888178,52.338982,0.000000
 
        4.887325,52.339191,0.000000
|
        4.885994,52.339447,0.000000
 
        4.885156,52.339569,0.000000
 
        4.883706,52.339691,0.000000
|
        4.883412,52.339664,0.000000
Tables?
        4.881998,52.339687,0.000000
 
        4.877167,52.339592,0.000000
|
        4.866856,52.339149,0.000000
 
        4.864840,52.339016,0.000000
 
        4.858609,52.338779,0.000000
|-
        4.856988,52.338665,0.000000
|
        4.853292,52.338478,0.000000
 
        4.845499,52.337933,0.000000
 
        4.845499,52.337933,0.000000
|
        4.844750,52.338009,0.000000
 
        4.843999,52.338177,0.000000
 
        4.843130,52.338493,0.000000
|
        4.842627,52.338825,0.000000
 
        4.842181,52.339264,0.000000
 
        4.842032,52.339516,0.000000
|
        4.841678,52.340431,0.000000
 
        4.841318,52.342655,0.000000
 
        4.841204,52.343781,0.000000
|-
        4.841090,52.345959,0.000000
|
        4.841096,52.347000,0.000000
 
        4.841210,52.347591,0.000000
 
        4.841453,52.348309,0.000000
|
        4.842482,52.350594,0.000000
 
        4.842643,52.351131,0.000000
 
        4.842781,52.352173,0.000000
|
        4.842627,52.358242,0.000000
 
        4.842551,52.359379,0.000000
 
        4.842374,52.367638,0.000000
|
        4.842235,52.369572,0.000000
 
        4.842225,52.371826,0.000000
 
        4.842298,52.372623,0.000000
|}
        4.842504,52.373692,0.000000
 
        4.842699,52.374302,0.000000
 
        4.844287,52.378056,0.000000
 
        4.844685,52.379238,0.000000
 
        4.844854,52.379929,0.000000
 
        4.844869,52.382607,0.000000
 
        4.844731,52.383945,0.000000
 
        4.844505,52.388725,0.000000
 
        4.844505,52.388725,0.000000
 
        4.844574,52.388889,0.000000
 
        4.844662,52.389977,0.000000
        4.845024,52.390808,0.000000
        4.845066,52.391193,0.000000
        4.845034,52.391460,0.000000
        4.845218,52.391644,0.000000
        4.845218,52.391644,0.000000
        4.847342,52.391747,0.000000
        4.854930,52.391838,0.000000
        4.861214,52.392414,0.000000
        4.863445,52.392567,0.000000
        4.864183,52.392654,0.000000
        4.866305,52.393078,0.000000
        4.867199,52.393158,0.000000
        4.868980,52.393017,0.000000
        4.871211,52.393032,0.000000
        4.871695,52.393013,0.000000
        4.872704,52.392891,0.000000
        4.873142,52.392864,0.000000
        4.876507,52.392803,0.000000
        4.876795,52.392712,0.000000
        4.876965,52.392609,0.000000
        4.878219,52.391609,0.000000
        4.879954,52.391354,0.000000
        4.880756,52.391293,0.000000
        4.884668,52.390797,0.000000
        4.885025,52.390663,0.000000
        4.885025,52.390663,0.000000
        4.885523,52.390446,0.000000
        4.886139,52.390289,0.000000
        4.890386,52.389744,0.000000
        4.890933,52.389599,0.000000
        4.891306,52.389416,0.000000
        4.891464,52.389256,0.000000
        4.891705,52.388760,0.000000
        4.892122,52.388073,0.000000
        4.893259,52.385483,0.000000
        4.893256,52.385048,0.000000
        4.893019,52.384392,0.000000
      </coordinates>
    </LineString>
  </Placemark>
  <Placemark>
    <name>To: Hotel Room Mate Aitana @52.384257,4.894012</name>
    <description><![CDATA[]]></description>
    <styleUrl>#style1</styleUrl>
    <Point>
      <coordinates>4.893019,52.384392,0.000000</coordinates>
    </Point>
  </Placemark>
</Document>
</kml>


----
----

Revision as of 17:58, 15 August 2013

<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://earth.google.com/kml/2.2"> <Document>

 <name>Amsterdam</name>
 <description><![CDATA[]]></description>
 <Style id="style3">
   <IconStyle>
     <Icon>
       <href></href>
     </Icon>
   </IconStyle>
 </Style>
 <Style id="style4">
   <IconStyle>
     <Icon>
       <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
     </Icon>
   </IconStyle>
 </Style>
 <Style id="style5">
   <IconStyle>
     <Icon>
       <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
     </Icon>
   </IconStyle>
 </Style>
 <Style id="style2">
   <LineStyle>
     <color>73FF0000</color>
     <width>5</width>
   </LineStyle>
 </Style>
 <Style id="style1">
   <IconStyle>
     <Icon>
       <href>http://maps.gstatic.com/mapfiles/ms2/micons/blue-dot.png</href>
     </Icon>
   </IconStyle>
 </Style>
 <Placemark>
   <name>Hotel Room Mate Aitana</name>
   <styleUrl>#style3</styleUrl>
   <Point>
     <coordinates>4.894012,52.384258,0.000000</coordinates>
   </Point>
 </Placemark>
 <Placemark>
   <name>RAI Amsterdam</name>
   <description><![CDATA[]]></description>
   <styleUrl>#style4</styleUrl>
   <Point>
     <coordinates>4.889986,52.341953,0.000000</coordinates>
   </Point>
 </Placemark>
 <Placemark>
   <name>From: RAI Amsterdam, Europaplein, 1078 GZ Amsterdam, Netherlands</name>
   <description><![CDATA[]]></description>
   <styleUrl>#style5</styleUrl>
   <Point>
     <coordinates>4.890671,52.340965,0.000000</coordinates>
   </Point>
 </Placemark>
 <Placemark>
   <name>Driving directions to Hotel Room Mate Aitana @52.384257,4.894012</name>
   <description><![CDATA[]]></description>
   <styleUrl>#style2</styleUrl>
   <ExtendedData>
     
       <value>true</value>
     
   </ExtendedData>
   <LineString>
     <tessellate>1</tessellate>
     <coordinates>
       4.890671,52.340965,0.000000
       4.890654,52.340843,0.000000
       4.892152,52.340759,0.000000
       4.892152,52.340759,0.000000
       4.891774,52.337868,0.000000
       4.891774,52.337868,0.000000
       4.891630,52.337669,0.000000
       4.891533,52.337608,0.000000
       4.891415,52.337589,0.000000
       4.891247,52.337608,0.000000
       4.889673,52.338448,0.000000
       4.888178,52.338982,0.000000
       4.887325,52.339191,0.000000
       4.885994,52.339447,0.000000
       4.885156,52.339569,0.000000
       4.883706,52.339691,0.000000
       4.883412,52.339664,0.000000
       4.881998,52.339687,0.000000
       4.877167,52.339592,0.000000
       4.866856,52.339149,0.000000
       4.864840,52.339016,0.000000
       4.858609,52.338779,0.000000
       4.856988,52.338665,0.000000
       4.853292,52.338478,0.000000
       4.845499,52.337933,0.000000
       4.845499,52.337933,0.000000
       4.844750,52.338009,0.000000
       4.843999,52.338177,0.000000
       4.843130,52.338493,0.000000
       4.842627,52.338825,0.000000
       4.842181,52.339264,0.000000
       4.842032,52.339516,0.000000
       4.841678,52.340431,0.000000
       4.841318,52.342655,0.000000
       4.841204,52.343781,0.000000
       4.841090,52.345959,0.000000
       4.841096,52.347000,0.000000
       4.841210,52.347591,0.000000
       4.841453,52.348309,0.000000
       4.842482,52.350594,0.000000
       4.842643,52.351131,0.000000
       4.842781,52.352173,0.000000
       4.842627,52.358242,0.000000
       4.842551,52.359379,0.000000
       4.842374,52.367638,0.000000
       4.842235,52.369572,0.000000
       4.842225,52.371826,0.000000
       4.842298,52.372623,0.000000
       4.842504,52.373692,0.000000
       4.842699,52.374302,0.000000
       4.844287,52.378056,0.000000
       4.844685,52.379238,0.000000
       4.844854,52.379929,0.000000
       4.844869,52.382607,0.000000
       4.844731,52.383945,0.000000
       4.844505,52.388725,0.000000
       4.844505,52.388725,0.000000
       4.844574,52.388889,0.000000
       4.844662,52.389977,0.000000
       4.845024,52.390808,0.000000
       4.845066,52.391193,0.000000
       4.845034,52.391460,0.000000
       4.845218,52.391644,0.000000
       4.845218,52.391644,0.000000
       4.847342,52.391747,0.000000
       4.854930,52.391838,0.000000
       4.861214,52.392414,0.000000
       4.863445,52.392567,0.000000
       4.864183,52.392654,0.000000
       4.866305,52.393078,0.000000
       4.867199,52.393158,0.000000
       4.868980,52.393017,0.000000
       4.871211,52.393032,0.000000
       4.871695,52.393013,0.000000
       4.872704,52.392891,0.000000
       4.873142,52.392864,0.000000
       4.876507,52.392803,0.000000
       4.876795,52.392712,0.000000
       4.876965,52.392609,0.000000
       4.878219,52.391609,0.000000
       4.879954,52.391354,0.000000
       4.880756,52.391293,0.000000
       4.884668,52.390797,0.000000
       4.885025,52.390663,0.000000
       4.885025,52.390663,0.000000
       4.885523,52.390446,0.000000
       4.886139,52.390289,0.000000
       4.890386,52.389744,0.000000
       4.890933,52.389599,0.000000
       4.891306,52.389416,0.000000
       4.891464,52.389256,0.000000
       4.891705,52.388760,0.000000
       4.892122,52.388073,0.000000
       4.893259,52.385483,0.000000
       4.893256,52.385048,0.000000
       4.893019,52.384392,0.000000
     </coordinates>
   </LineString>
 </Placemark>
 <Placemark>
   <name>To: Hotel Room Mate Aitana @52.384257,4.894012</name>
   <description><![CDATA[]]></description>
   <styleUrl>#style1</styleUrl>
   <Point>
     <coordinates>4.893019,52.384392,0.000000</coordinates>
   </Point>
 </Placemark>

</Document> </kml>



$(document).ready(function() { CODE GOES HERE });