Answer the question
In order to leave comments, you need to log in
Yandex. Maps, is it possible to remove the shadow from the label?
the map is rendered like this
// Дождёмся загрузки API и готовности DOM.
ymaps.ready(init);
function init ()
{
var myMap = new ymaps.Map('map', {
zoom: 6,
controls: ['fullscreenControl', 'zoomControl']
}, {
maxZoom: 12,
minZoom: 4,
}),
myGeoObjects = new ymaps.GeoObjectCollection({}, {
//preset: "islands#redCircleIcon",
//preset: 'islands#darkBlueIcon',
preset: 'islands#redStretchyIcon',
// geodesic: true
});
// Добавляем в коллекцию метки и линию.
myGeoObjects.add(new ymaps.Placemark([55.751346,37.599743], {iconContent: 3, id: 1})); // Москва
// Добавляем коллекцию на карту.
myMap.geoObjects.add(myGeoObjects);
// Устанавливаем карте центр и масштаб так, чтобы охватить коллекцию целиком.
myMap.setBounds(myGeoObjects.getBounds());
}
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