How to access the map object from browser console?

2843
11
03-18-2016 05:01 AM
BenedekSimó
New Contributor III

I would like to access the map object from my console (and maybe also widget objects). So far I could only make that by inserting a breakpoint in some widgets code and use the this.map option to get my maps properties. Is there a way to do that easier? (Exuse me if this is too straightforward...)

0 Kudos
11 Replies
BenedekSimó
New Contributor III

Chris,

The screenshot you have sent is relevant in "native" Javascript API applications, but not in WebApp Builder Applications. But thanks, anyways!

0 Kudos
ChrisSmith7
Frequent Contributor

Yeah, my bad - I saw "browser console" and assumed you we're looking for that. I don't develop with the WAB, but it's still JavaScript, so you could certainly debug a deployed app using the browser console, which is what I thought you were trying to do!

0 Kudos