lines property

Iterable<TileLine> lines

Implementation

Iterable<TileLine> get lines {
  if (type != TileFeatureType.linestring) {
    throw StateError('Feature does not have lines');
  }
  var lines = _lines;
  if (lines == null) {
    lines = decodeLineStrings(_geometry!);
    _geometry = null;
    _lines = lines;
  }
  return lines;
}