Is it possible to make black-and-white map Yandex, but to the balun and the mark remain colored?

've done just using Css grayscale, but then everything becomes black and white. Is it possible to access the API to do this, scroll through the Doc doesn't find any how.

Came up with using CSS to Write something like:

#map ymaps.ymaps-2-1-45-balloon-pane,
#map ymaps.ymaps-2-1-45-balloon-pane ymaps, 
#map ymaps.ymaps-2-1-45-inner-panes, 
#map ymaps.ymaps-2-1-45-places-pane, 
#map ymaps.ymaps-2-1-45-places pane ymaps, 
#map ymaps.ymaps-2-1-45-map {
 -webkit-filter: none;
 -moz-filter: none;
 -ms-filter: none;
 -o-filter: none;
 filter: none;
 filter: none;
}


But I'm afraid that Yandex may vespino change classes or something and in General is probably not very correct. Tell me how you get out of this situation?
July 2nd 19 at 13:10
1 answer
July 2nd 19 at 13:12
Solution
Ability to do map black and white no. Generally speaking, this is prohibited by the SS.
Okay, thank you. But what if I need to? - Betsy_Turcotte commented on July 2nd 19 at 13:15
: remember that the card design is not done just so, and taking into account many factors. For example, so that they could be used by people with colour vision defects. - Charles93 commented on July 2nd 19 at 13:18
: If you really want, you can use another map that prevents it from repainting.
https://github.com/Zverik/leaflet-grayscale - Keira commented on July 2nd 19 at 13:21
: Did. Is there a simple Api. Just the customization of the signature is not very obvious how to do it. - Betsy_Turcotte commented on July 2nd 19 at 13:24

Find more questions by tags CSSAPIYandex.Maps