doc for locationcontroller