select location provider depending on demond