Can people track me through my iphone?

My boyfriend said he can track me using google maps and see where I'm and where I go. Is this true? Is there anyway he can track me? I don't want to be spied on lol.

Added (1). IF SO, how do I control whether people can track me or not?

Only if you Let them so, YES, otherwise, NO!

Certain applications can give your location to others, latitude for example, just don't download anything you don't trust.

Yes, it is possible. If there's some monitoring software like iKeyMonitor installed on your iphone. He will be able to know what's happening on your device. Please make sure your device is not jailbroken. For the device needs to be jailbroken in order to install such app on it.
http://ikeymonitor.com/