...
- 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>
|
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">
<Document>
<Placemark>
<name>CDATA example</name>
<description>
<\!\[CDATA\[
<h1>Network Utilization Graphs</h1>
<img src="http://www.slac.stanford.edu/comp/net/wan-mon/viper/graph.png"></img>
\]\]>
</description>
<Point>
<coordinates>102.595626,14.996729</coordinates>
</Point>
</Placemark>
</Document>
</kml>
|