/// <inheritdoc /> public override void VisitRelation(Entities.Relation relation) { string actualValue; var modelRelation = new Relation() { Id = relation.Id, Tags = relation.Tags, }; if (relation.Tags != null && relation.Tags.TryGetValue("type", out actualValue) && actualValue == "multipolygon") { // TODO use object pool modelRelation.Areas = new List <Area>(relation.Members.Count); MultipolygonProcessor.FillAreas(relation, modelRelation.Areas); } ModelLoader.LoadRelation(Tile, modelRelation); }