How-To: Rotate multiple Live Map views on a single screen
One of the more common questions we get from our customers is if they can rotate a number of views on a single screen. The answer is, yes they can and so can you if you follow these simple instructions.
This can be achieved by a combination of the LiveMaps web console and the HTML file attached to this blog. Just download the HTML file, open it in your favorite HTML editor, adjust some settings and off you go.
Download the HTML file using the link below:
Live Maps Rotator HTML file
You can configure two settings, the number of milliseconds you want each view to show and the URLs you want to show.
The following is a copy of the setting sections of a production HTML file, rotating 3 views with a 10 sec interval.
//
//--Custom Settings
//
//--Specify the urls you want to show
//--To add another url just add another url to the array
//--For example add another line: urls[3] = "http://www.microsoft.com";
var urls = new Array();
urls[0] = "http://localhost:52909/Default.aspx?moid=0b70937f-7780-bc7f-6d51-39b2a343e27a&sidebarMode=true";
urls[1] = "http://localhost:52909/Default.aspx?moid=00c286d3-0290-875a-11fe-79413a1f0228&sidebarMode=true";
urls[2] = "http://localhost:52909/Default.aspx?moid=8127822d-65ed-a6fb-db99-cb1e73446884&sidebarMode=true";
//--Set the time a url is shown in milliseconds
var slideTime = 10000;
//
//--End custom settings.
//
The URL of a specific Live Maps view can be easily found by opening the Live Maps web console, selecting a view from the tree and clicking the little earth symbol at the top right corner. This opens the view in a separate window. Just copy the URL from your browsers address bar and paste it into the settings section of the HTML file. Add &sidebarMode=true at the end of each URL.
You can host the HTML file on one of your web servers or just open it locally.
If you have any questions regarding this article you can contact us at support@savision.com.
More information about Live Maps for Operations Manager 2007 can be found here.
