Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
GeographicSymbolSeries constructor breaks after 20.1 update
posted

I've recently updated our application which uses the UltraGeographicMap control to Ultimate UI for Windows 20.1 from the previous version. I'm now seeing a null exception upon creating a new GeographicSymbolSeries object that fails on the parameterless constructor when trying to get the MarkerThickness value.

   at Infragistics.Controls.Maps.GeographicSymbolSeries.get_MarkerThickness()
   at Infragistics.Controls.Maps.GeographicSymbolSeriesView.OnHostedSeriesUpdated()
   at Infragistics.Controls.Maps.GeographicMapSeriesHost.OnHostedSeriesUpdated()
   at Infragistics.Controls.Maps.GeographicSymbolSeries..ctor()
   at Infragistics.Win.DataVisualization.GeographicSymbolSeries..ctor()

I'm creating the object using the parameterless constructor then setting properties on the resulting object, like so:

GeographicSymbolSeries series = new GeographicSymbolSeries();

series.DataSource = [my data source object];
series.LongitudeMemberPath = "Longitude";
series.LatitudeMemberPath = "Latitude";
series.MarkerCollisionAvoidance = CollisionAvoidanceType.FadeAndShift;
series.MarkerTemplate = new [my Infragistics.Graphics.CustomRenderTemplate implementation];

This was working correctly prior to the 20.1 update. Are there new requirements for the context in which GeographicSymbolSeries objects can be created?