Search code examples
c#mongodbleafletdashboardmongodb-charts

Can you change MongoDB Charts Geospacial Map?


I am using MongoDB Charts to attempt to implement a Dashboard. The GeoSpacial Charts use appear to use Leaflet and a very simple map.

See Here: enter image description here

Is is possible to use a more detailed map at closer ranges. For Example Open Street Maps? Which is also used by leaflet?

For reference I have found nothing online indicating that it is or isn't possible.

I am currently using a Blazor web app and Syncfusion for this dashboard, if that helps. I know there is a possibility to embed the map within an IFrame which I have done. There is also an embedded sdk.

Thanks for your time, Matt


Solution

  • According to this answer here, MongoDB Charts doesn't let you configure or change the map. It does suggest you can use .getData() and use your own mapping component.