Acessing map properties in an app created in Web AppBuilder for Developers

369
3
08-31-2016 11:07 AM
SamuelAbati
New Contributor III

I am beggining to understand how to better customize apps made in WAB, but I can't seem to find where the map class is created, so I can access and changes it's properties as seen here Map | API Reference | ArcGIS API for JavaScript 3.17 

My actual goal is to change the infoWindow property to a custom one that also shows related tables (as seen here Popup with related fields | ArcGIS API for JavaScript 3.17 ) and is moveable (if possible)

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Samuel,

   The map is created in the jimu/MapManager.js

0 Kudos
SamuelAbati
New Contributor III

Thanks Robert, I see now.

Considering that I want to customize the on click popup, how would it be advised to do it? Editing the MapManager?

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Samuel,

   Nope that would be the PopupMnager.js

0 Kudos