Setup the location provider inline.