Answer the question
In order to leave comments, you need to log in
Why does the label style on the Yandex map not change?
I do it like this:
ymaps.ready(init);
var myMap;
function init(){
myMap = new ymaps.Map ("map", {
center: [55.76, 37.64],
zoom: 4,
});
myMap.behaviors
.disable(['rightMouseButtonMagnifier'])
.enable('drag', 'zoom');
var myPlacemark = new ymaps.Placemark(
[ymaps.geolocation.latitude, ymaps.geolocation.longitude],
{iconContent: 'Вы здесь'},
{preset: 'islands#redIcon'}
);
myMap.geoObjects.add(myPlacemark);
}
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