ee.Projection.scale
Returns the projection scaled by the given amount in each axis.
Usage | Returns |
---|
Projection.scale(x, y) | Projection |
Argument | Type | Details |
---|
this: projection | Projection | |
x | Float | The amount to scale by in the x axis. |
y | Float | The amount to scale by in the y axis. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["Returns a modified Projection with scaling applied to its x and y axes."],["The `scale` method takes two arguments: `x` for horizontal scaling and `y` for vertical scaling, both of which are float values."],["This method can be used to adjust the size or dimensions of the projection without changing its other properties."]]],[]]