Back

Flutter map - grouping markers

  • 0
  • General
  • Flutter
  • Web
pitcairn1987
6 Feb, 2024, 11:14

Hi, I'm developing this site: https://genistree.pl/

I have a map that shows markers based on coordinates saved in the documents. I use Leaflet map, which allows grouping of markers (clustering), but it already works at the level of all records loaded from Appwrite, So for technical reasons it cannot work this way. That's why on my website I always loaded more markers with each page. Could it be possible to use the Appwrite function or other mechanisms to achieve appropriate zoom-based clustering, i.e.:

  • each action on the map = query to the API with a different level of grouping
TL;DR
Hi developers! I'm working on a site that uses a Leaflet map to display markers based on coordinates. Currently, I am unable to achieve zoom-based clustering using the existing functionality in Leaflet. I would like to know if it's possible to use the Appwrite function or any other mechanisms to achieve this. Solution: One possible solution to achieve the desired zoom-based clustering is to implement a query to the API with a different level of grouping for each action on the map. This can be done by utilizing the Appwrite function or other mechanisms.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more