@@ -0,0 +1,1255 @@
+package com.google.android.gnd.ui.map;%0A%0Aimport androidx.annotation.Nullable;%0Aimport com.google.android.gnd.model.feature.Feature;%0Aimport com.google.android.gnd.model.feature.Point;%0Aimport com.google.android.gnd.model.layer.Style;%0Aimport com.google.auto.value.AutoValue;%0Aimport com.google.common.collect.ImmutableList;%0Aimport com.google.common.collect.ImmutableSet;%0A%0A@AutoValue%0Apublic abstract class MapPolygon extends MapFeature %7B%0A%0A  public static Builder newBuilder() %7B%0A    return new AutoValue_MapPolygon.Builder();%0A  %7D%0A%0A  public abstract String getId();%0A%0A  public abstract ImmutableList%3CImmutableSet%3CPoint%3E%3E getVertices();%0A%0A  public abstract Style getStyle();%0A%0A  // TODO: Stop embedding entire Feature in pins to free up memory. Instead, copy only details%0A  // relevant to rendering pins and uuid to reference the related Feature.%0A  @Nullable%0A  public abstract Feature getFeature();%0A%0A  @AutoValue.Builder%0A  public abstract static class Builder %7B%0A    public abstract Builder setId(String newId);%0A%0A    public abstract Builder setVertices(ImmutableList%3CImmutableSet%3CPoint%3E%3E vertices);%0A%0A    public abstract Builder setStyle(Style style);%0A%0A    public abstract Builder setFeature(@Nullable Feature newFeature);%0A%0A    public abstract MapPolygon build();%0A  %7D%0A%7D%0A

Add MapPolygon type MapFeature