F
F
freekir2016-11-30 14:43:05
css
freekir, 2016-11-30 14:43:05

Is it possible to make a black and white Yandex map, but so that the balloon and the label remain in color?

I did it simply through Css grayscale, but then everything becomes black and white. Is it possible to somehow access the API to do this, I'm flipping through the dock and I can't find it.
Invented via CSS 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 suddenly change classes or something else, and in general this is probably not very correct. Tell me, how do you get out of this situation?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
forgotten, 2016-11-30
@freekir

There is no option to make the map black and white. Generally speaking, this is prohibited by the PS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question