We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Например, такой код:
map = new DG.Map('map', { center: new DG.LatLng(54.980206086231, 82.898068362003), zoom: 15 }); map.on('zoomend', function() { console.log('zoomend') map.remove(); console.log('remove') }); map.on('moveend', function() { console.log('moveend') });
Выведет в консоль:
'zoomend' 'remove' 'moveend'
Кажется, что если карта удалена, то никакие обработчики больше вызываться не должны.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Например, такой код:
Выведет в консоль:
Кажется, что если карта удалена, то никакие обработчики больше вызываться не должны.
The text was updated successfully, but these errors were encountered: