Installation
- You must have a web server configured to run this demo.
Download the zip file containing the demo map. - Unzip the file in a specific folder.
- Start IIS Configuration Manager (Control Panel -> Administrative Tools)
- On your Default Web site, create a new virtual directory pointing on the folder where you unzipped the sample.
- Try to see your new page in Explorer, you should see the page but get an error message because your not running Omnicast.
- Start the Omnicast Config Tool and create a new site with the URL of your virtual directory.
- In your live viewer, drag this new site on a tile.
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
To find or modify your camera IDs (See Config tool -> Directory Element - > ID tab on the right)
The geo:long and geo:lat
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.
References
Virtual Earth SDK


2 comments:
Nice example! As a supplemental, I've used the following for a Google Maps integration:
http://cctv.polb.com/maps/cammap_thequeen01.html
Great blog!
Hi Mike,
You did a nice job!
There's also a way to automatically refresh the snapshot every x seconds/minutes with a simple Macro.
Jonathan
Post a Comment