I am using the IgrGeographicMap component to display Earth maps with data projection on them.
I am for the most part getting my inspiration from already existing templates : https://www.infragistics.com/products/ignite-ui-react/react/components/geo-map-type-scatter-area-series
However these templates don't have a X and a Y axis.
Any solution on how to display them? I have noticed "xAxis" and "yAxis" props in the official documentation of IgrGeographicMap.
These props require IgrNumericXAxis and IgrNumericYAxis types, but I get the following error when I assign my IgrNumericXAxis component to my xAxis prop :
The X-axis for this IgxGeographicMap.Component Under normal circumstances, this property should not be set in application code. By default, it will be set to a numeric axis with a spherical mercator scaler.
It would feel weird to add the 139 missing props, I feel like I'm assigning the component in a bad way. The code in question (thanks in advance for helping) :
You can display grid lines with a IgrGeographicPolylineSeries and, optionally, labels with a IgrGeographicSymbolSeries with a marker template. The map doesn't require axes so I would follow the sample I have attached below. This is actually close to our multiple sources sample. Let me know if you have any questions.
Thank you! Your code fits perfectly what I wanted :)