Added a buttonPosition option to the LocationFilter class