mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-12 12:25:48 +01:00
Add support for Marker zIndex and tags API
This commit is contained in:
parent
a57ac35b5d
commit
13e1a1cebb
@ -30,4 +30,8 @@ interface IMarkerDelegate {
|
|||||||
void setInfoWindowAnchor(float x, float y);
|
void setInfoWindowAnchor(float x, float y);
|
||||||
void setAlpha(float alpha);
|
void setAlpha(float alpha);
|
||||||
float getAlpha();
|
float getAlpha();
|
||||||
|
void setZIndex(float zIndex);
|
||||||
|
float getZIndex();
|
||||||
|
void setTag(IObjectWrapper obj);
|
||||||
|
IObjectWrapper getTag();
|
||||||
}
|
}
|
||||||
|
@ -58,6 +58,8 @@ public class MarkerOptions extends AutoSafeParcelable {
|
|||||||
private float infoWindowAnchorV = 1F;
|
private float infoWindowAnchorV = 1F;
|
||||||
@SafeParceled(14)
|
@SafeParceled(14)
|
||||||
private float alpha = 1F;
|
private float alpha = 1F;
|
||||||
|
@SafeParceled(15)
|
||||||
|
private float zIndex = 0F;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new set of marker options.
|
* Creates a new set of marker options.
|
||||||
@ -326,5 +328,14 @@ public class MarkerOptions extends AutoSafeParcelable {
|
|||||||
return this;
|
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);
|
public static Creator<MarkerOptions> CREATOR = new AutoCreator<MarkerOptions>(MarkerOptions.class);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user