There was an old issue in forum.
In my app I’m displaying a map in a contextmenu and at last rows the map is cutted. How can I avoid?
contextMenu: {
items: {
"map": {
name: function () {
const last = this.getSelectedLast(),
id = 'ID_' + hot.getDataAtRowProp(last[0], 'id'),
html = '<div id="'+id+'" class="qmap" data-latlng="'+latlng+'" ></div>';
$('.qmap').each(function (e) {
const self = $(this);
const latlng = self.data('latlng').split(','),
L.mapquest.key = MAPQUESTKEY;
L.mapquest.map(id, {
center: latlng,
zoom: 17,
layers: L.mapquest.tileLayer('map'),
});
});
return html;
}
},