added a static variable to disable showing of agents on the map