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
2085
GeographicSymbolSeries Not Displaying
posted

I am attempting to follow the basic example for GeographicSymbolSeries shown here:

http://help.infragistics.com/Help/Doc/WPF/2014.2/CLR4.0/html/xamGeographicMap_Using_Geographic_Symbol_Series.html#_Ref320651790

I am using a v14.2.20142.2024 and my own shapefile data for cities (included in the attached example).  The application runs, but shows a blank map, no points are shown.  What needs to change to make this function correctly?

    <Window.Resources>
 
        <ig:ShapefileConverter x:Key="shapefileConverter"
              ShapefileSource="C:\Projects\Sandbox\GeoMapCitiesTest\GeoMapTest\Cities.shp"
              DatabaseSource="C:\Projects\Sandbox\GeoMapCitiesTest\GeoMapTest\Cities.dbf">
        </ig:ShapefileConverter>
 
    </Window.Resources>
 
        <Grid x:Name="RootLayoutGrid">
        <ig:XamGeographicMap x:Name="GeoMap" BackgroundContent="{x:Null}" >
            
            <ig:XamGeographicMap.Series>
 
                <ig:GeographicSymbolSeries ItemsSource="{StaticResource shapefileConverter}"
                                   LongitudeMemberPath="Points[0][0].X"
                                   LatitudeMemberPath="Points[0][0].Y">
                </ig:GeographicSymbolSeries>
                
            </ig:XamGeographicMap.Series>
 
        </ig:XamGeographicMap>
    </Grid>

Note: you will need to change the XAML references from "C:\Projects\Sandbox\GeoMapCitiesTest\GeoMapTest\Cities.xxx" to match with where you run this example.

GeoMapCitiesTest.zip
Parents
  • 34810
    Offline posted

    Hello Gary,

    Thank you for your post.

    I have reproduced this issue you are seeing, but I noticed that you have the BackgroundContent property set to {x:Null} and that is preventing the map from coming up. If you remove this property you will see the map. After that though, another issue arose as the GeographicSymbolSeries was not showing. 

    I have found that the GeographicSymbolSeries works normally in a 13.2 build and this is a regression issue. As such, I have asked our engineering staff to examine this further and to ensure that it will receive attention, I have logged this behavior in our internal tracking system with a development ID of 188206.

    I have created a private case for you so that you can track the progress of this development issue. The case number is CAS-150661-S9R9M3 and you can access it here: https://ko.infragistics.com/my-account/support-activity.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Developer Support Engineer I
    Infragistics Inc.
    www.infragistics.com/support

Reply Children
No Data