JMap.Form.getDisplayedForm
Returns the currently displayed form.
Use JMap.Form.hasDisplayedForm to know if a form is currently displayed.
if no layer is displayed
if (JMap.Form.hasDisplayedForm()) { // returns the currently displayed form const form = JMap.Form.getDisplayedForm() ...} Copy
if (JMap.Form.hasDisplayedForm()) { // returns the currently displayed form const form = JMap.Form.getDisplayedForm() ...}
JMap.Form.getDisplayedForm
Returns the currently displayed form.
Use JMap.Form.hasDisplayedForm to know if a form is currently displayed.