points property
Implementation
List<Offset> get points {
if (type != TileFeatureType.point) {
throw StateError('Feature does not have points');
}
final modelPoints = _modelPoints;
if (modelPoints != null) {
final uiGeometry = UiGeometry();
_points = modelPoints
.map((e) => uiGeometry.createPoint(e))
.toList(growable: false);
_modelPoints = null;
}
return _points;
}