It shall be unlawful for any person to use any electronic device for the detection of metals, minerals, artifacts, lost articles, or for treasure hunting in any park or recreation facility without written authorization from the director or the director's authorized agent.