Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Background
I'm working on personal project, (a mobile app), in which geolocation is a feature. The users log a location in a MongoDB, (if commercially viable, it'll be an Azure CosmosDB, but for now I'm testing with simulated data locally). To account for scale, I'm developing with the mind that I'll have 10'000'000 locations, (quite unrealistic, but I've screwed up before, underestimating, so i multiply my calculated max with 10)

The need
I need a "management"-application, which preferably has a world map with "dots", (this is acheivable with Bing Maps and it's WPF MapControl, and using Pushpins).

The issue
When I tested with 100'000 locations, the app uses 3GB RAM, takes 10 minutes to load, and navigating it's tabs is beyond slow. if I were to scale to 10'000'000 locations, it would probably kill my computer

Any help, thoughts and input would be greatfully recived

What I have tried:

Google only pushes DevExpress and Telerik in my face, and nothing in my price-range
Posted
Updated 4-Oct-18 12:51pm
Comments
Richard MacCutchan 10-Sep-18 3:57am    
You should not be trying to build such large amounts at one go. As with virtual lists you need to collect the data and render it only as the user requests more, or the data needs to be displayed in the view.
Frank R. Haugen 10-Sep-18 4:05am    
The issue is that the "master map", needs to show the locations found.

And I'm actually surprised that the Bing Maps control, don't have the features to handle that much data, (or load it in a better way)
Richard MacCutchan 10-Sep-18 4:13am    
I think you will find that they do what I mentioned above. The information is in the database but the points are only mapped as and when they need to be shown. Trying to manage a map of the world with all points ready marked and hold that in memory will never work.

1 solution

The solution is to use html and the many bing maps functions available there. E.g heatmap
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900