Hello everybody,
I'm french so perhaps my english is not really good. I'm begin working with mapsuite and I have a problem.....
My problem is that i can't draw a simple map on a silverlight aplication. I try many different solution but I don't see my map in my browser.
I know it's really basic but with the quick start guide it doesn't work.....
Here is my code:
Map1.MapUnit = GeographyUnit.DecimalDegree;
ShapeFileFeatureLayer shpLyr = new ShapeFileFeatureLayer(@"C:\map\roads-all.shp");
shpLyr.Name = "Road";
LayerOverlay overlay = new LayerOverlay();
overlay.Layers.Add(shpLyr);
overlay.Name = "test";
Map1.Overlays.Add(overlay);
I tried to draw a rectangle on a layer and it's work...so I'm a little lost....
Please can you tell my what is not good in my code?
thanks