opened
tristen
username_0
If `text-allow-overlap` is set to `true` I would still expect variable label placement to work on finding the optimal display. Instead, it appears clustered like this:

![variable placement](https://user-images.githubusercontent.com/61150/61638298-1aa2da00-ac67-11e9-99dc-a376ea34570d.gif)

Here's what my layer looks like:

```js
{
  id: 'foo',
  type: 'symbol',
  source: 'composite',
  'source-layer': 'housenum_label',
  layout: {
    'text-field': 'I am a label',
    'text-size': 12.5,
    'text-allow-overlap': true,
    'text-variable-anchor': [
      'center',
      'left',
      'right',
      'top',
      'bottom',
      'top-left',
      'top-right',
      'bottom-left',
      'bottom-right'
    ],
    'text-justify': 'auto'
  }
}
```

---

Mapbox GL JS Version: **v1.1.1**
And a link to the demo: https://jsfiddle.net/username_0/tpaygf4w/
Don't disable variable label placement if text-allow-overlap is set to true
issue
created
ansis
username_1
Are you expecting it to try different positions looking for one without collisions and only allow a collision if there is no position without a collision?
comment
created
tristen
username_0
@username_1 right. Even if `*-allow-overlap` is true I would expect variable label placement to still try and find an optimized position before concluding there will be overlap.
comment
created
chloekraw
username_2
cc: @username_3 @alexshalamov
comment
created
pozdnyakov
username_3
Implementation for gl-native https://github.com/mapbox/mapbox-gl-native/pull/15354
comment
closed
pozdnyakov
username_3
issue
created
tristen
username_0
Whoa! Amazing @username_3. Should this be left open for the GL JS portion of the work?
comment
created
pozdnyakov
username_3
Is it fine, if I make a separate issue in GL Native to track mapbox/mapbox-gl-native#15354
comment
created
chloekraw
username_2
@username_0 https://github.com/mapbox/mapbox-gl-js/pull/8620 is in gl-js!
comment