Files
openlayers/examples/vector-label-decluttering.html
2020-08-24 23:24:27 +02:00

12 lines
458 B
HTML

---
layout: example.html
title: Vector Label Decluttering
shortdesc: Label decluttering on polygons.
resources:
- https://cdn.polyfill.io/v2/polyfill.min.js?features=Set"
docs: >
Decluttering is used to avoid overlapping labels. The `overflow: true` setting on the text style makes it so labels that do not fit within the bounds of a polygon are also considered for decluttering.
tags: "vector, decluttering, labels"
---
<div id="map" class="map"></div>