コード例 #1
0
        public GroundOverlayOptions PositionFromBounds([NotNull] LatLngBounds latLngBounds)
        {
            if (latLngBounds == null)
            {
                throw new ArgumentNullException("latLngBounds");
            }

            _setPositionMethodAndroid = SetPositionMethodAndroid.LatLngBounds;

            _latLngBounds = latLngBounds;
            return(this);
        }
コード例 #2
0
        public GroundOverlayOptions Position([NotNull] LatLng latLng, float width)
        {
            if (latLng == null)
            {
                throw new ArgumentNullException("latLng");
            }

            _setPositionMethodAndroid = SetPositionMethodAndroid.LatLngWidthOnly;

            _latLng = latLng;
            _width  = width;
            return(this);
        }