GB72 is correct - as is Homer of course. Trolleys like the Motocaddy S3 digital have measuring devices on which should be switched off during competitive play.
I've yet to hear about a club that is allowing distance measuring devices other than the yardage charts most clubs provide. Of course if anyone knows of any clubs allowing GPS & other meassuring devices I'd be interested to know about them.