It is necessary to place a Yandex map in a non-rectangular block (for example, in the form of an arrow). Tell me, please, maybe there is an opportunity through svg (I have superficial svg knowledge) or otherwise. I know that there is a property css clip-path, but it does not work in all browsers. You can try overlaying the background, but it looks like a crutch.
- What form do you need? If the arrow, then it is easier to make a rectangular map and overlay png elements - Skywave
- Arrow like a house. It's just that there is still a map that should surround the background not uniform, but with a fancy pattern, so it turns out that these png elements will be part of the background, you need to clearly match, plus make sure that the proportions are preserved when scaling. - mihail
|