@Override public IObjectWrapper createSignInButton(IObjectWrapper contextWrapper, int size, int color) { Context context = (Context) ObjectWrapper.unwrap(contextWrapper); // TODO: real view :) return ObjectWrapper.wrap(new View(context)); }
@Override public IObjectWrapper toScreenLocation(LatLng latLng) throws RemoteException { Point point = new Point(); viewport.toScreenPoint(GmsMapsTypeHelper.fromLatLng(latLng), point); return ObjectWrapper.wrap(GmsMapsTypeHelper.toPoint(point)); }