var plotter = new GPlotter(); plotter.plot("map", "links", "locations.xml");
Optionally some properties can change, such as the color and the location of the map icons. GPlotter works with the icons I created which come in red, green and blue numbering 1 to 25. The default location for the map icons is
/maps/icons/ but can be set with
setIconUrl(). See the source code of the example page for GPlotter for all of the details. Check back here for future releases. And if you feel you have some ideas for features, please post a comment here.
I have several ideas for using GPlotter and the XML file format. For starters the XML file is a great way to represent an address book. The address books could include various groups, like locations for favorite restaurants, bars and coffee shops.
Also, the locations file could also be a meta reference on web pages. A Firefox extension could detect the meta value and open a website with a references to the mapping file to plot those locations. On the typical company website with a locations page listing multiples offices this could be used to quickly provide an interactive map to each office. Non-business uses could include maps for public parks or golf courses.
I have many other ideas and I hope to make time to implement them soon.