Closed chuprik closed 5 years ago
thanks! that looks good for me, going to check for my case.
well, I have another question :D how I can zoom to cluster automatically? I do not need two column balloon view I need just open balloon X for button X.
I did it! I just must to add instanceRef={ref => this.map = ref}
to my Map and then this.map.setCenter
:)
I have a list with an address list and when a user clicks on an address balloon must open. How I can implement this? Plus I'm using the cluster feature.
A rough example:
I tried to do an array with refs and then search a ref and open but it's ugly and works only without the cluster feature.
I think much relevant doc article is https://tech.yandex.ru/maps/jsbox/2.1/object_manager_balloon, I didn't try ObjectManager and I will go to try it in a few mins :)
Thanks!