Hello,
Currently I'm testing Map Suite Web Edition.
I try to load an shape file. With the exemple given by the QuickStart Guides, I can load a shape file given in the exemple.
When I try to load a shape file coming from a dwg file, the map is white, and nothing is display.
What can be the problem?
This is the code that I'm using to load the file.
FactoryMap.MapBackground.BackgroundBrush = new GeoSolidBrush(GeoColor.FromHtml("#B3C6D4")); FactoryMap.MapUnit = GeographyUnit.DecimalDegree; ShapeFileFeatureLayer worldLayer = new ShapeFileFeatureLayer(MapPath("~/img/zone_pol.shp")); worldLayer.ZoomLevelSet.ZoomLevel01.DefaultAreaStyle = AreaStyles.CreateSimpleAreaStyle(GeoColor.FromArgb(255, 243, 239, 228), GeoColor.FromArgb(255, 218, 193, 163), 1); worldLayer.ZoomLevelSet.ZoomLevel01.ApplyUntilZoomLevel = ApplyUntilZoomLevel.Level20; FactoryMap.StaticOverlay.Layers.Add(worldLayer);
Do i forget something?
Thxxx