I'm using an app called FakeGPS (there are many with similar names). The faq says it can be used with Tasker via intent.
http://incorporateapps.com/fake_gps_route_faq.html
But when I try to use it with the intent action on MD it isn't working. Anyone has experience with it?