Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Very flexible and open API's.
  • Flash Version available.
  • Easy to implement.
    Cons: 
  •  API is not as powerful and flexible as Google Maps.

Examples of Google Maps Features

  The fallowing sample KML  will display a place marker at the latitude and longitude supplied to it

Code Block

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
  <Placemark>
    <name>Simple placemark</name>
    <description>Attached to the ground. Intelligently places itself
       at the height of the underlying terrain.</description>
    <Point>
      <coordinates>-122.0822035425683,37.42228990140251,0</coordinates>
    </Point>
  </Placemark>
</kml>

http://maps.google.com/maps?f=q&hl=en&q=http://www.slac.stanford.edu/comp/net/wan-mon/viper/l.kml&layer=&ie=UTF8&z=17&om=1

  JFreeChart or any other graphing API can be used to display Router Utilization Graphs. The Graphs can be saved as images and then there URL can be provided to the CallOut to display the graph. Here is a sample code

Code Block

<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://earth.google.com/kml/2.1">
&nbsp; <Document>
&nbsp;&nbsp;&nbsp; <Placemark>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <name>CDATA example</name>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <description>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\!\[CDATA\[
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <h1>Network Utilization Graphs</h1>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="http://www.slac.stanford.edu/comp/net/wan-mon/viper/graph.png"></img>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \]\]>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </description>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <Point>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <coordinates>102.595626,14.996729</coordinates>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </Point>
&nbsp;&nbsp;&nbsp; </Placemark>
&nbsp; </Document>
</kml>&nbsp;

http://maps.google.com/maps?f=q&hl=en&q=http://www.slac.stanford.edu/comp/net/wan-mon/viper/fourth.kml&layer=&ie=UTF8&z=3&ll=52.05249,98.4375&spn=81.078359,163.476563&om=1&iwloc=AImage Added