Clicking markers on the map sets the appropriate constraints.