P
P
Pipop2020-06-04 18:03:09
JavaScript
Pipop, 2020-06-04 18:03:09

How to change the contents of the balloon?

I have labels that are in a cluster. A circle is drawn on the map. All pins within the circle are selected like this:
let pins = clusterer.getGeoObjects(); // all
pins let pinsInsideCircle = ymaps.geoQuery(pins).searchInside(this.circle) // pins inside the circle.

pinsInsideCircle returns me a GeoQueryResult object. The problem is that I don't know how to get to the labels in this object and change their balloons.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2020-06-04
@Pipop

It seems that you did not even open the documentation
https://tech.yandex.ru/maps/jsapi/doc/2.1/ref/ref...

A
Anton Shamanov, 2020-06-04
@SilenceOfWinter

console.log()to help..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question