UNPKG

openlayers

Version:

Build tools and sources for developing OpenLayers based mapping applications

15 lines (12 loc) 387 B
goog.provide('ol.style.TextPlacement'); /** * Text placement. One of `'point'`, `'line'`. Default is `'point'`. Note that * `'line'` requires the underlying geometry to be a {@link ol.geom.LineString}, * {@link ol.geom.Polygon}, {@link ol.geom.MultiLineString} or * {@link ol.geom.MultiPolygon}. * @enum {string} */ ol.style.TextPlacement = { POINT: 'point', LINE: 'line' };