Hello,
Frequently when I use the ClassBreak with Custom Data, I get an error "Input string was not in a correct format." at WinformsMap.Refresh().
Is it possible to determine more precisely what is causing the error ?
The error is on the classbreak, but on which parameter, which value ?
example:
Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseDouble(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Double.Parse(String s, NumberStyles style, NumberFormatInfo info)
at System.Double.Parse(String s, IFormatProvider provider)
at ThinkGeo.MapSuite.Core.ClassBreakStyle.DrawCore(IEnumerable`1 features, GeoCanvas canvas, Collection`1 labelsInThisLayer, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Style.Draw(IEnumerable`1 features, GeoCanvas canvas, Collection`1 labelsInThisLayer, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.ZoomLevel.DrawCore(GeoCanvas canvas, IEnumerable`1 features, Collection`1 currentLayerLabels, Collection`1 allLayerLabels)
at ThinkGeo.MapSuite.Core.ZoomLevel.Draw(GeoCanvas canvas, IEnumerable`1 features, Collection`1 currentLayerLabels, Collection`1 allLayerLabels)
at ThinkGeo.MapSuite.Core.FeatureLayer.DrawCore(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.Core.Layer.Draw(GeoCanvas canvas, Collection`1 labelsInAllLayers)
at ThinkGeo.MapSuite.DesktopEdition.LayerOverlay.DrawCore(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.kBQ=(GeoCanvas kRQ=)
at ThinkGeo.MapSuite.DesktopEdition.Overlay.Draw(GeoCanvas canvas)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.0xM=(IEnumerable`1 zxc=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.0RM=(RectangleShape zhc=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.HBQ=()
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.GBQ=(Int32 BRg=)
at ThinkGeo.MapSuite.DesktopEdition.WinformsMap.Refresh()
at Test.Map(FeatureLayer& LayerThematique, InMemoryFeatureLayer& LayerCustomData, DataTable& Data, DataTable& DataDesc, String& ColGeoLoc, String& NomAttribut, CarteStyleIN& StyleAttribut) in C:\test\map.vb:line 2627