A
A
Andrey Shubin2015-12-10 07:01:14
API
Andrey Shubin, 2015-12-10 07:01:14

How to paint the cluster icon in the desired color when the map is initialized?

Hello! There is a need to change the colors of geo objects on the Yandex map. Points (Placemark) turns out to be painted in the color you need both during initialization and when you hover over it with the cursor. But the cluster turns out to be painted in the desired color only when the cursor is hovered. During initialization, it turns out to paint it only in one of the standard colors .
What is currently available can be viewed here - jsfiddle.net/4ps6rqqo
Tell me , how can I paint the cluster in the desired color at the initialization stage on the map?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2015-12-10
@idegree

For cluster icons, properties are specified with the cluster prefix. In your case, you need to add the clusterIconColor property.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question