projection.fitSize(size, object)
A convenience method for projection.fitExtent where the top-left corner of the extent is [0, 0]. The following two statements are equivalent:
projection.fitExtent([[0, 0], [width, height]], object); projection.fitSize([width, height], object);
Please login to continue.