From c94fcdfabfbd593d30c0bfb8feb41f4fa57caf94 Mon Sep 17 00:00:00 2001 From: Lauren Budorick Date: Thu, 10 Jul 2014 10:23:15 -0700 Subject: [PATCH] text-path: curve > symbol-placement: line, rm symbol-rotation-alignment --- migrations/v4.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/migrations/v4.js b/migrations/v4.js index 99d3e43..ce0e59f 100644 --- a/migrations/v4.js +++ b/migrations/v4.js @@ -99,13 +99,11 @@ function convertLayer(layer) { rename(render, 'text-min-distance', 'symbol-min-distance'); if (layer.style && layer.style['icon-rotate-anchor']) { - render['symbol-rotation-alignment'] = layer.style['icon-rotate-anchor']; delete layer.style['icon-rotate-anchor']; } - if (render['text-path' === 'curve']) { - render['symbol-rotation-alignment'] = 'map'; - render.placement = 'line'; + if (render['text-path'] === 'curve') { + render['symbol-placement'] = 'line'; } delete render['text-path'];