toTileFeature method

TileFeature toTileFeature()

Implementation

TileFeature toTileFeature() {
  final tilePoints = hasPoints ? points.toList(growable: false) : null;
  final tileLines = hasLines ? lines.toList(growable: false) : null;
  final tilePolygons = hasPolygons ? polygons.toList(growable: false) : null;
  return TileFeature(
      type: type,
      properties: properties,
      points: tilePoints,
      lines: tileLines,
      polygons: tilePolygons);
}