Skip to content

Commit

Permalink
Rename symbol-min-distance to symbol-spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw authored and jfirebaugh committed Jun 17, 2015
1 parent 6f6a23b commit a09c076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/data/symbol_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ SymbolBucket.prototype.addFeature = function(lines, shapedText, shapedIcon) {
var fontScale = layout['text-max-size'] / glyphSize,
textBoxScale = this.tilePixelRatio * fontScale,
iconBoxScale = this.tilePixelRatio * layout['icon-max-size'],
symbolMinDistance = this.tilePixelRatio * layout['symbol-min-distance'],
symbolMinDistance = this.tilePixelRatio * layout['symbol-spacing'],
avoidEdges = layout['symbol-avoid-edges'],
textPadding = layout['text-padding'] * this.tilePixelRatio,
iconPadding = layout['icon-padding'] * this.tilePixelRatio,
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/style-basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"text-font": ["Open Sans Regular", "Arial Unicode MS Regular"],
"text-max-size": 12,
"text-max-angle": 59.59,
"symbol-min-distance": 250
"symbol-spacing": 250
},
"paint": {
"text-color": "@text",
Expand Down

0 comments on commit a09c076

Please sign in to comment.