[android] #5102 - update marker view position correctly by comparing markers based on id instead of location
This commit is contained in:
committed by
Tobrun Van Nuland
parent
9c9140595e
commit
1d7d8a9f2f
@@ -70,8 +70,8 @@ public class MarkerTest {
|
||||
|
||||
@Test
|
||||
public void testHashCode() {
|
||||
Marker marker = new MarkerOptions().position(new LatLng(10, 12)).getMarker();
|
||||
assertEquals("hash code should match", marker.hashCode(), -1946419200);
|
||||
Marker marker = new MarkerOptions().getMarker();
|
||||
assertEquals("hash code should match", marker.hashCode(), 0);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user