B
B
bbquite2019-06-09 17:54:03
JavaScript
bbquite, 2019-06-09 17:54:03

How to make route labels on top of regular Yandex Maps labels?

When the page is loaded, tags from the database are added to it, then a route is built based on them, but for some reason the route tags are placed randomly, sometimes under the standard label, sometimes above it. How to solve this problem so that route labels are always on top?5cfd1d8996ffa199453434.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-06-09
@WebDev921

YMaps.WayPoint is used to set the start, end and intermediate points
WayPoint inherits from Placemark, which has a zindex
property . Use that.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question