Angular Binding CSV Files with Geographic Locations

    With the Ignite UI for Angular map component, you can plot geographic data loaded from various file types. For example, you can load geographic locations from a comma separated values (CSV) file.

    Demo

    Data Example

    Here is an example of data from CSV file:

    City,Lat,Lon,State,Code,County,Density,Population
    New York,40.7856,-74.0093,New Jersey,NJ,Hudson,21057,54227
    Dundee,42.5236,-76.9775,New York,NY,Yates,579,1650
    

    Code Snippet

    The following code loads and binds IgxGeographicHighDensityScatterSeriesComponent in the map component to an array of objects created from loaded CSV file with geographic locations.