cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the map type using the API

Ponuliukas
Mt. Kenya

Hi, I am trying to make a program that as soon as I upload an activity, changes the title, the description, and most importantly the map type from the regular orange line, to the "support Ukraine" map type.

I have been playing around with the API, using the get request to see an activity, but there is no entry for the map type. Is this even possible? 

Best,

J

2 REPLIES 2

ActivityFix
Kilimanjaro

It is not officially documented so support isn't guaranteed, but the field name you need is "selected_polyline_style" and the value is a string representing the map type. The support Ukraine map style is named "ukraine"

lopey66
Elbrus