From 871daf216fa9166dbc30867955711243643dfaa1 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 23 Jul 2014 15:22:13 -0700 Subject: [PATCH] icon-rotate is a render property, units are degrees (fixes #124) --- reference/v4.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/reference/v4.json b/reference/v4.json index ab8a27ab064..61384427f32 100644 --- a/reference/v4.json +++ b/reference/v4.json @@ -244,6 +244,11 @@ "type": "string", "doc": "A string with {tokens} replaced, referencing the data property to pull from." }, + "icon-rotate": { + "type": "number", + "default": 0, + "doc": "Rotation angle of icon, in degrees." + }, "icon-padding": { "type": "number", "default": 2, @@ -338,7 +343,8 @@ }, "text-rotate": { "type": "number", - "default": 0 + "default": 0, + "doc": "Rotation angle of text, in degrees." }, "text-padding": { "type": "number", @@ -670,11 +676,6 @@ "function": true, "transition": true }, - "icon-rotate": { - "type": "number", - "default": 0, - "function": true - }, "icon-size": { "type": "number", "default": 1,