-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sample showing heatmap #2264
Comments
Thanks for the suggestion. I have not created software for heatmaps before. I can imagine there are various ways to draw heatmaps:
In general I try to avoid layer specific rendering in Mapsui. The renderer should not know about a heatmap type. Using images would allow this for the current implementation. It is also an option to add some halo/blurry style. This could be used in the points and polygon cases. This is the very first time I started thinking about heatmaps. My ideas may change. |
My concern is the performance in the case of Xamarin.Forms. This is just my opinion, depending on how the heat map implementation is designed, the UI (e.g. zooming, panning) may be slowed down. Perhaps the calculation of the heatmap can be delegated to a background processing native in each phone platform. When the task is done, the overlay image is pushed back. During the background processing, the user may swipe to other app and come back later to see the heatmap. During the heat map calculation, zooming is frozen => I will be curious to see how these challenges will be addressed. |
The features have to be generated in a (to be created) provider. The provider itself is called on a background thread. This is how the |
Sharp Map comes with heat map layer, perhaps we eventually port that to Mapsui
heatmap or healthmap layer from SharpMap
Discussion of use case
The text was updated successfully, but these errors were encountered: