Exemplo n.º 1
0
 @NonNull
 @Override
 public LatLngBoundsDelegate createLatLngBoundsDelegate(
     @NonNull final OPFLatLng southwest, @NonNull final OPFLatLng northeast) {
   return new YaWebLatLngBoundsDelegate(
       new LatLngBounds(
           new LatLng(southwest.getLat(), southwest.getLng()),
           new LatLng(northeast.getLat(), northeast.getLng())));
 }
 public GoogleCameraPositionDelegate(
     @NonNull final OPFLatLng target, final float zoom, final float tilt, final float bearing) {
   this.cameraPosition =
       new CameraPosition(new LatLng(target.getLat(), target.getLng()), zoom, tilt, bearing);
 }
 public GoogleCameraPositionDelegate(@NonNull final OPFLatLng target, final float zoom) {
   this.cameraPosition =
       CameraPosition.fromLatLngZoom(new LatLng(target.getLat(), target.getLng()), zoom);
 }
 @NonNull
 @Override
 public CameraPositionDelegate.Builder target(@NonNull final OPFLatLng target) {
   delegate.target(new LatLng(target.getLat(), target.getLng()));
   return this;
 }