I believe that you need to set .
activityType to “fitness” if you want to avoid the snap-to-road misfeature.
Please try this and let me know if it works for you. I went through this years ago; it would be useful to know if that’s still the best fix.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags: