[android] #5102 - update marker view position correctly by comparing markers based on id instead of location

This commit is contained in:
Tobrun Van Nuland
2016-05-24 14:13:28 +02:00
committed by Tobrun Van Nuland
parent 9c9140595e
commit 1d7d8a9f2f
2 changed files with 2 additions and 19 deletions

View File

@@ -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