mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-24 19:55:51 +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 setAlpha(float alpha);
|
||||
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;
|
||||
@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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user