mapbox/mapbox-gl-style-spec — pull request #141 by ansis (2014-08-11 23:34:01+00:00)
Title: add `symbol-avoid-edges`

Cross tile labels will work the same way they do in mapnik maps. The vectortiles are padded with extra data that gets used to prevent most collisions. `symbol-avoid-edges` can be used to disable cross-tile labels in the cases this approach does not work well enough.

The default value is false for point symbols. It is always true for line symbols because the line interpolation can't be predicted across tiles, making it pretty much impossible to prevent collisions.

`"symbol-avoid-edges": true` should be used:
- if a layer does not have enough padding in the vector tiles to safely place the label
- if a point layer is placed after a line layer