Answer the question
In order to leave comments, you need to log in
How to make when you click on the link, the transition to the desired label?
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
<script type="text/javascript">
ymaps.ready(init);
function init() {
var myMap = new ymaps.Map("map", {
center: [43.131999, 131.896615],
zoom: 17
}, {
searchControlProvider: 'yandex#search'
});
var myPlacemark = new ymaps.Placemark([43.131999, 131.896615], {
balloonContentHeader: 'Главный офис компании Cosmetik Line',
balloonContentBody: "г. Владивосток, Океанский пр-т, 87",
balloonContentFooter: " 8 (800)550-20-29"
},{
iconLayout: 'default#image',
iconImageHref: "/images/imagegeo.png",
iconImageSize: [42, 52],
iconImageOffset: [-15, -44]
});
myMap.geoObjects.add(myPlacemark);
myMap.setCenter(coord, 13);
}
</script>
<ul>
<li><a>test</a></li>
<li><a>test2</a></li>
<li><a>test3</a></li>
</ul>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question