修复了marker点击切换的bug
This commit is contained in:
@@ -8,7 +8,7 @@ import java.io.Serializable;
|
||||
public class MarkerLocation implements Serializable {
|
||||
|
||||
private String address;
|
||||
private Double angle;
|
||||
private float angle;
|
||||
private Double lat;
|
||||
private Double lon;
|
||||
|
||||
@@ -20,11 +20,11 @@ public class MarkerLocation implements Serializable {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public Double getAngle() {
|
||||
public float getAngle() {
|
||||
return angle;
|
||||
}
|
||||
|
||||
public void setAngle(Double angle) {
|
||||
public void setAngle(float angle) {
|
||||
this.angle = angle;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.mogo.module.common.entity;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* author : donghongyu
|
||||
* e-mail : 1358506549@qq.com
|
||||
@@ -73,6 +75,19 @@ public class MarkerShowEntity {
|
||||
this.markerLocation = markerLocation;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
MarkerShowEntity that = (MarkerShowEntity) o;
|
||||
return bindObj.equals(that.bindObj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(bindObj);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MarkerShowEntity{" +
|
||||
|
||||
Reference in New Issue
Block a user