points property

Iterable<TilePoint> points

Implementation

Iterable<TilePoint> get points {
  if (type != TileFeatureType.point) {
    throw StateError('Feature does not have points');
  }
  var points = _points;
  if (points == null) {
    points = decodePoints(_geometry!);
    _geometry = null;
    _points = points;
  }
  return points;
}