diff --git a/lib/carto/renderer_js.js b/lib/carto/renderer_js.js index dd88cee..906086b 100644 --- a/lib/carto/renderer_js.js +++ b/lib/carto/renderer_js.js @@ -57,7 +57,7 @@ CartoCSS.Layer.prototype = { }, /** - * return the symbolizers that need to be rendered with + * return the symbolizers that need to be rendered with * this style. The order is the rendering order. * @returns a list with 3 possible values 'line', 'marker', 'polygon' */ @@ -99,7 +99,7 @@ CartoCSS.Layer.prototype = { // // given a geoemtry type returns the transformed one acording the CartoCSS - // For points there are two kind of types: point and sprite, the first one + // For points there are two kind of types: point and sprite, the first one // is a circle, second one is an image sprite // // the other geometry types are the same than geojson (polygon, linestring...) @@ -202,12 +202,15 @@ CartoCSS.prototype = { var layer = layers[key] = (layers[key] || { symbolizers: [] }); + for(var u = 0; u