G
G
Greg Plitt2016-04-27 15:04:10
css
Greg Plitt, 2016-04-27 15:04:10

How to highlight a region when hovering in Yandex.Maps?

Tell me please. I made a map using Yandex.Maps, colored all the regions by color and made a tooltip display when you hover over the mouse.
Now I need to remove all the "colors" from the map and just highlight in orange each region (which is now by color) jsbin.com/cefuyopeta/edit?html ,output on hover.
Tell me what you need to use so that the colors painted appear only when hovering with the mouse, for example.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
forgotten, 2016-04-27
@forgotten

jsbin.com/wimetineke/1/edit?html,output _

N
Nicholas, 2016-04-27
@healqq

You need to make the regions transparent and hang a mouseenter event on each region, in which you need to change the color of the region from transparent to whatever you want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question