I have an opened panorama. I need to hide (or remove from markup) the close button. The button is located in the upper right corner of the screen. Could you please help me?
js:
ymaps.ready(init);
var map,
mapElem = document.getElementById('map'),
panoramaElem = document.getElementById('panorama');
function init(){
map = new ymaps.Map("map", {
center: [61.79,34.36],
controls: [],
zoom: 5
});
ymaps.panorama.locate([61.79,34.36]).done(
function (panoramas) {
if (panoramas && panoramas.length > 0) {
mapElem.style.display = 'none';
panoramaElem.style.display = 'block';
var panorama = new ymaps.panorama.Player(
'panorama', panoramas[0], { direction: 'auto' }
);
}
}
);
};
PS: if this is not possible, then I would like to replace the native button with an image