This is covered by the portable electronic device section of the law.  If using GPS required you to hold the device in your hand then you are in violation.  Regardless of why a device is in use, the law wants devices to be attached to the car in some fashion that allows their use to be “hands-free”.