O
O
OlegSR12019-10-10 15:49:13
JavaScript
OlegSR1, 2019-10-10 15:49:13

How to sign polygons in react-yandex-maps?

connected the react-yandex-maps library, displayed the polygons through the ObjectManager, it became necessary to sign them, in the Yandex examples, signatures are added using the "polylabel.create" module, how can this be done in react-yandex-maps?

<ObjectManager
                objects={{
                    openBalloonOnClick: true,
                    preset: 'islands#greenDotIcon',
                }}
                clusters={{
                    preset: 'islands#redClusterIcons',
                }}
                modules={["package.full"]}
                features={ this.state.polygons}
            />

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question