Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13e1a1ce authored by Adam Mills's avatar Adam Mills Committed by Marvin W.
Browse files

Add support for Marker zIndex and tags API

parent a57ac35b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -30,4 +30,8 @@ interface IMarkerDelegate {
	void setInfoWindowAnchor(float x, float y);
	void setAlpha(float alpha);
	float getAlpha();
	void setZIndex(float zIndex);
	float getZIndex();
	void setTag(IObjectWrapper obj);
	IObjectWrapper getTag();
}
+11 −0
Original line number Diff line number Diff line
@@ -58,6 +58,8 @@ public class MarkerOptions extends AutoSafeParcelable {
    private float infoWindowAnchorV = 1F;
    @SafeParceled(14)
    private float alpha = 1F;
    @SafeParceled(15)
    private float zIndex = 0F;

    /**
     * Creates a new set of marker options.
@@ -326,5 +328,14 @@ public class MarkerOptions extends AutoSafeParcelable {
        return this;
    }

    public MarkerOptions zIndex(float zIndex) {
        this.zIndex = zIndex;
        return this;
    }

    public float getZIndex() {
        return this.zIndex;
    }

    public static Creator<MarkerOptions> CREATOR = new AutoCreator<MarkerOptions>(MarkerOptions.class);
}