add showPosition. type can be "decimal" and "degree"