diff --git a/docs/pages/example/variable-label-placement.html b/docs/pages/example/variable-label-placement.html new file mode 100644 index 00000000000..ee09db5bbc3 --- /dev/null +++ b/docs/pages/example/variable-label-placement.html @@ -0,0 +1,108 @@ +
+ + diff --git a/docs/pages/example/variable-label-placement.js b/docs/pages/example/variable-label-placement.js new file mode 100644 index 00000000000..fadc993072d --- /dev/null +++ b/docs/pages/example/variable-label-placement.js @@ -0,0 +1,10 @@ +/*--- +title: Variable label placement +description: Use `text-variable-anchor` to allow high priority labels to shift position to stay on the map +tags: + - layers +pathname: /mapbox-gl-js/example/variable-label-placement/ +---*/ +import Example from '../../components/example'; +import html from './variable-label-placement.html'; +export default Example(html);