Web Components Binding Multiple Data Sources

    In the Ignite UI for Web Components map, you can add multiple geographic series objects to overlay custom data sources with geo-spacial data. For example, IgcGeographicSymbolSeriesComponent for plotting geographic locations of airports, the IgcGeographicPolylineSeriesComponent for plotting flights between airports, and 2nd IgcGeographicPolylineSeriesComponent for plotting gridlines of major geographic coordinates.

    Web Components Binding Multiple Data Sources Example

    Este tópico mostra passo a passo a exibição de várias séries geográficas que serão plotadas nos seguintes dados geoespaciais:

    Você pode usar séries geográficas nesta ou em outras combinações para plotar os dados desejados.

    Creating Data Sources

    Create data sources for all geographic series that you want to display in the Ignite UI for Web Components map. For example, you can the use WorldConnections script.

    Overlaying Flights

    Create first IgcGeographicPolylineSeriesComponent object with flight connections between major airports and add it to the Series collection of the Ignite UI for Web Components map.

    Overlaying Gridlines

    Create second IgcGeographicPolylineSeriesComponent object with geographic gridlines and add it to the Series collection of the Ignite UI for Web Components map.

    Overlaying Airports

    Create IgcGeographicSymbolSeriesComponent object with airport points and add it to the Series collection of the geographic Ignite UI for Web Components map.

    Summary

    Para sua conveniência, todos os trechos de código acima são combinados em um bloco de código abaixo que você pode copiar facilmente para seu projeto.

    API References