Virtual Earth in Omnicast

Virtual Earth can be used Omnicast to display cameras on a map. I created a demo using 3D Maps, this demo can be easily modified to add your own cameras.


  1. You must have a web server configured to run this demo.
  2. Unzip the file in a specific folder.
  3. Start IIS Configuration Manager (Control Panel -> Administrative Tools)
  4. On your Default Web site, create a new virtual directory pointing on the folder where you unzipped the sample.
  5. Try to see your new page in Explorer, you should see the page but get an error message because your not running Omnicast.
  6. Start the Omnicast Config Tool and create a new site with the URL of your virtual directory.
  7. In your live viewer, drag this new site on a tile.

You can now drag a camera from the map into a tile or just double-click on a camera icon. If all the camera icons are red, it's because the demo map expects camera Ids between 1 and 6. This can be easily modify, see how in the following section. The first time this map will load, since it's a 3D, it will request to download virtual Earth 3D. If you want to avoid this, you can modify the page to a 2D map.

Configure your own cameras

All the cameras displayed on the map are load from and XML file (camerageorss.xml)To add new cameras open the XML file in notepad and edit the item section.The Title tag is used by the javascript to find the right camera in Omnicast. If your camera logical ID is 100, the title should be "cam100"
To find or modify your camera IDs (See Config tool -> Directory Element - > ID tab on the right)
The geo:long and geo:lat tags can be found by browsing the map in 3D, they are displayed at in lower right corner of the 3D map.

Change the initial center point

To change the default location when you start the map. Open the html file (VirtualEarthMap.htm) in notepad and just replace the 2 coordinates in this line.

Previous Article
How to install/execute macros
How to install/execute macros

Next Article
The hidden value of H.264
The hidden value of H.264