I have a named map with a variable like that allow me to change the css_color value when I render it using cartodb.js.
I would like to create a static map for this named map but I can't find how pass the color parameter using the map API.
https://myusername.cartodb.com/api/v1/map/static/named/my_named_map/800/600.jpggives me :
{ "error": "Invalid css_color value for template parameter 'color_up': "}https://myusername.cartodb.com/api/v1/map/static/named/my_named_map/800/600.jpg?config={color_up:"#f2bb00"}gives me :
{ "error": "malformed config parameter, should be a valid JSON"}I also tried ?color_up="#f2bb00" without success. Any ideas ? There is nothing in the documentation so it may not be possible to pass a parameter at all ?
أكثر...
I would like to create a static map for this named map but I can't find how pass the color parameter using the map API.
https://myusername.cartodb.com/api/v1/map/static/named/my_named_map/800/600.jpggives me :
{ "error": "Invalid css_color value for template parameter 'color_up': "}https://myusername.cartodb.com/api/v1/map/static/named/my_named_map/800/600.jpg?config={color_up:"#f2bb00"}gives me :
{ "error": "malformed config parameter, should be a valid JSON"}I also tried ?color_up="#f2bb00" without success. Any ideas ? There is nothing in the documentation so it may not be possible to pass a parameter at all ?
أكثر...