This is an example of hiding and showing Google Map overlays with code generated in R where the data start. This is the cabspotting data.
Original taken from the Google Maps API examples