TencentMap.addVectorOverlay(VectorOverlayProvider)
public class WeightedLatLng extends WeightedLatLng
限定符和类型 | 字段和说明 |
---|---|
static android.os.Parcelable.Creator<WeightedLatLng> |
CREATOR
已过时。
|
限定符 | 构造器和说明 |
---|---|
|
WeightedLatLng(LatLng latLng)
已过时。
创建使用默认权重的坐标
|
|
WeightedLatLng(LatLng latLng,
double intensity)
已过时。
创建权重坐标
|
protected |
WeightedLatLng(android.os.Parcel in)
已过时。
通过Parcel构造坐标
|
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents()
已过时。
|
boolean |
equals(java.lang.Object obj)
已过时。
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
已过时。
|
getIntensity, getPoint, hashCode, setIntensity, setPoint
public static final android.os.Parcelable.Creator<WeightedLatLng> CREATOR
protected WeightedLatLng(android.os.Parcel in)
in
- Parcel对象public WeightedLatLng(LatLng latLng, double intensity)
latLng
- 坐标值intensity
- 权重值:必须大于等于0,
默认是1
权重越高对应的颜色值越大
权重值可叠加:相同位置的点叠加方式是直接相加,比如两个权重都是1的相同点,叠加之后的权重是2public WeightedLatLng(LatLng latLng)
latLng
- 坐标值public int describeContents()
describeContents
在接口中 android.os.Parcelable
describeContents
在类中 WeightedLatLng
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
在接口中 android.os.Parcelable
writeToParcel
在类中 WeightedLatLng
public boolean equals(@Nullable java.lang.Object obj)
equals
在类中 WeightedLatLng