A
A
Alexey2015-08-20 15:22:31
Yandex maps
Alexey, 2015-08-20 15:22:31

Why does the "open in Yandex maps" function not display my placemark?

When you click on the link "open in Yandex maps" in the lower left corner, there is a transition to yandex maps. Here in yandex maps my placemark is not displayed, it is not clear what the map points to. Code:
myMap = new ymaps.Map("map", {
center: [54.741868, 36.620152],
zoom: 15,
controls: []
},
);
myPlacemark = new ymaps.Placemark([54.737668, 36.620152], {}, {
iconLayout: 'default#image',
iconImageHref: '{% static 'img/map-marker.png' %}',
iconImageSize: [28, 43 ],
iconImageOffset: [-3, -42]
});
myMap.geoObjects.add(myPlacemark);
myMap.behaviors.disable("scrollZoom");

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
forgotten, 2015-08-20
@alexxxxey

Saving custom tags will be added in the next releases.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question