Make text-max-width require symbol-placement: point #666
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When investigating maplibre/maplibre-gl-js#4124, I noticed 'text-max-width' is not used when 'symbol-placement' is anything other than 'point'. This is an attempt to document this behavior for other users.
Relevant native code: https://github.com/maplibre/maplibre-native/blob/main/src/mbgl/layout/symbol_layout.cpp#L381
Relevant JS code: https://github.com/maplibre/maplibre-gl-js/blob/main/src/symbol/symbol_layout.ts#L159
Edit: Hmm. The docs generation doesn't actually use any requires in the form of
{"propery": "value"}
. So the usefulness of this is pretty minimal at that moment. /shrug.Launch Checklist
CHANGELOG.md
under the## main
section.