by janmaru
13. February 2010 23:16
Hey, it works!!! And it's not Apache saying this. Here you are with a simple test on my library. You can see how simple life is when javascript is at large.
var map = new Map("map", "mymap");
var urls = new List<String>();
urls.Add("http://labs.metacarta.com/wms/vmap0");
var layers = new List<String>();
layers.Add("basic"); //OpenLayers WMS
map.addLayer(new Layer("wms"), new Service("Base Map",
urls, TypeOfServiceLayer.MAPSERVER, layers,
FormatImage.NONE, false, true, GoogleType.NONE, BingType.NONE, YahooType.NONE, OSMType.NONE, MarkersType.NONE));
map.setCenter(new GeoSpheroidPoint(10.2, 43.9), 4);
map.addMousePosition();
map.addKeyboardDefaults();
map.addOverviewMap();
map.addLayerSwitcher();
map.addScaleLine();

If you want to get the project click on this!!! @ test_blog.rar (27.77 kb)