TrexMapLayer activates and deactivates TREX using payload parameters.