How to catch event on Leaflet map ready?

Discussão em 'Angular' iniciado por Pavlo Krasota, Dezembro 26, 2024.

  1. I need an event when the full map is ready to use. I want to take a screenshot, but sometimes the map is not ready and gray blocks appear on it. image I`m using SimpleMapScreenshoter for this

    I've played with timeouts before, but it work randomly. And as I understand whenReady() event don't grant you full map initializing

    Continue reading...

Compartilhe esta Página