Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Hi, I have tried using view.extent but when I output it via console.log(view.extent) it is null. It does work when I call this when the pointer moves e.g. view.on("pointer-move", function(){console.log(view.extent)}); though. Is there anyway to access the extent as soon as the page loads?