Maps
Single Point Map
Suppose in one of the wiki pages you are interested to show the location of Irvine on a map:
#simpleMap(33.655016, -117.844766, 15, "Irvine")
Follow the following instructions for inserting this map in your wiki page:
Press the "Insert a macro" button:
Multiple Points Map
Sometimes you have a lot of points that you want to display all of them on a single map:
#mapFromExcel("locations.xls", "Sheet1", "A1-C101")
You have two options on CalSWIM. You can either put them on an Excel spreadsheet or retrieve them directly from a registered database:
Map From Data of Attached Excel Spreadsheet
In this case, you must attach an spreadsheet and specify a range containing 3 columns. The first column would be the title of the points. The second and the third columns would be latitude and longitude of points (Check the attachment of this page as an example). Press the "Insert a macro" button:
Map From Data of a Registered Database
In this case, you can write a SQL query which returns three columns (the first column should be the title and the second and the third columns should be latitude and longitude of points). Press the "Insert a macro" button:
on 2008/06/05 17:54