GeoStreamRepository Constructor (WebProxy, String) |
Namespace: Telogis.GeoBase.Repositories
GeoStream servers are known by the URL pointing to the server's GeoStream directory (the GeoStream directory contains 'tile.aspx'). The URL should be of the form: http://myserver/path_to_geostream_directory/
The default installation of GeoBase configures IIS with the following URL: http://myserver/GeoStream/
WebProxy proxy = new WebProxy("http:\\myproxy:9012", true) { Credentials = new NetworkCredential("proxyusername", "proxypassword") }; string[] myServers = { "http://tiles.mycompany.net/GeoStream/", "http://tiles2.mycompany.net/GeoStream/" }; GeoStreamRepository myRepo = new GeoStreamRepository(proxy, myServers);