Answer the question
In order to leave comments, you need to log in
How to highlight a street on Yandex.Maps?
Good afternoon,
There is a Yandex.Map with a small number of points (~ 500).
Each point has parameters (Name, Address, Coordinates, etc.).
There is a search for these points, with the highlighting of found / not found.
The customer wanted to do a street search, i.e. we enter “Moskovskaya” in the search,
all points on this street should be “highlighted” (this is not such a problem, because all points have an address text field),
but the customer also wants to highlight the entire street on the map with color.
In the API, I found only the construction of routes, but it does not fit, because. the route does not always follow the same street.
Is there a way to highlight the entire street?
* Points are grouped into clusters
* API 2.0
Answer the question
In order to leave comments, you need to log in
The crudest option is to (try to) get the geometry of the street via a geocoder. A little more real is to take data from OSM.
The easiest (probably) is to find the necessary streets on esosedi, for example postindex.esosedi.ru/77-moskva/st-653858-timura_fr... and silently take the kml that is immersed there - www.esosedi.ru/loader/osm/ kladrway.php?st=653858
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question