OsmUtils { public static IGeoPoint toGeoPoint(LatLng latLng) { return new GeoPoint( latLng.latitude, latLng.longitude ); }  static IGeoPoint toGeoPoint(LatLng latLng); static List<IGeoPoint> toGeoPoints(List<LatLng> points); static LatLng toLatLng(IGeoPoint geoPoint); static OverlayItem.HotspotPlace anchorToHotspot(float u, float v);  }
@Test public void testToGeoPoint() throws Exception { final LatLng input = new LatLng(10d, 20d); final GeoPoint expected = new GeoPoint(10d, 20d); IGeoPoint output = OsmUtils.toGeoPoint(input); assertEquals(expected, output); }