# Maybe we can rewrite with asynchronous renderer for rending map

**URL:** https://mapwindow.discourse.group/t/maybe-we-can-rewrite-with-asynchronous-renderer-for-rending-map/1624
**Category:** Uncategorized
**Created:** [August 25, 2023, 10:21am UTC](https://mapwindow.discourse.group/t/maybe-we-can-rewrite-with-asynchronous-renderer-for-rending-map/1624 "2023-08-25T10:21:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ningfc](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@ningfc](https://mapwindow.discourse.group/u/ningfc)
#### Post date: [August 25, 2023, 10:21am UTC](https://mapwindow.discourse.group/t/maybe-we-can-rewrite-with-asynchronous-renderer-for-rending-map/1624/1 "2023-08-25T10:21:42Z")

</div>

Maybe we can render the map asynchronously using some concurrency methods, and then the map pan and zoom will not block UI and draw the map smoothly. like QGIS.

---

<div class="post-metadata">

### Author: ![krebs](https://avatars.discourse-cdn.com/v4/letter/k/9dc877/32.png) [@krebs](https://mapwindow.discourse.group/u/krebs)
#### Post date: [September 1, 2023, 9:12am UTC](https://mapwindow.discourse.group/t/maybe-we-can-rewrite-with-asynchronous-renderer-for-rending-map/1624/2 "2023-09-01T09:12:32Z")

</div>

hi ningfc, sounds great. Do you already have some ideas on how to achieve that? best.

---

<div class="post-metadata">

### Author: ![ningfc](https://avatars.discourse-cdn.com/v4/letter/n/6a8cbe/32.png) [@ningfc](https://mapwindow.discourse.group/u/ningfc)
#### Post date: [September 14, 2023, 5:16am UTC](https://mapwindow.discourse.group/t/maybe-we-can-rewrite-with-asynchronous-renderer-for-rending-map/1624/3 "2023-09-14T05:16:46Z")

</div>

I’m reading the QGIS source code, and I think maybe we can rend data with some threads and draw the rendered image to screen in the UI thread, like product customer model, not block UI thread, redraw buffer image to screen with paned and zoomed extents and then trigger the refresh threads to redraw data of current extent.
