V
V
Vyacheslav Mulyukin2015-08-23 17:30:06
JavaScript
Vyacheslav Mulyukin, 2015-08-23 17:30:06

How to make yandex map black and white?

Need
to make yandex map black and white

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2015-08-23
@SlavaGlaps

The selector should be like this: .ymaps-2-1-29-ground-pane
But apparently it will stop working as soon as they release a new version.
Therefore, it is better to play it safe and write like this [class*="ymaps-2-1"][class*="-ground-pane"]:.
I can't imagine what prompted them to put the patch version into the css selector.
Example .

A
Anton Korzunov, 2015-08-27
@kashey

There is no normal way to do this, especially since this action is prohibited by the license.
You can use the solution from Alexey, but it can stop working at any time.

F
Flashduck, 2022-03-05
@Flashduck

Wrap in a div and add styles - filter: grayscale(1) brightness(1) invert(1);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question