Improvement request.
Closed this issue · 16 comments
My markers have diffrent types (icons, colors and dedicated type field). At the moment they are all grouped together. How about customization of grouping marker ? I remember once seeing grouping marker with a colorful circle around with sections depending on amount of specific markers. I can't find this example now. Also Leaflet allows for customized group marker (which could help achieve this result).
Any suggestions ?
Thnanks for great plugin !
In markerclusterlayeroption you have a builder. You can insert conditions and return different cluster
Yes I noticed it, working on it. BTW. when I pass diffrent list on each pass will it refresh ? I have some problems.
Yes, everytime that plugin draw a cluster, builder will be called.
Somehow I have problem with it suddenly. I create copy of list inside build and somehow plugin does not call build at all.
I dont know how to help you. Can do you post your code?
I will try to update example, give me few minutes.
Is this yours debug message ?
D/ViewRootImpl@9899862[MainActivity](29845): ViewPostIme pointer 0
D/ViewRootImpl@9899862[MainActivity](29845): ViewPostIme pointer 1
D/ViewRootImpl@9899862[MainActivity](29845): ViewPostIme pointer 0```
No
Check this file with 2 buttons adding in dynamic way and it shows nothing.
main.dart.txt
maybe I do something wrong but I doubt.
Ok, I found solution, _markersList
must be declared as member of class not inside build
method.
main.dart.txt
Try to not use setstate with global variable
If I tap on group marker when it map is not maxZoom it will zoom out instead of zoom in. Aby idea why ?
Maybe wrong settings
Which one ?
i dont know, i never seen this issue. You have to discover it
ok i understand all, i will try to fix this issue