http://www.google.com/apis/maps/documentation/
A GSize is the size in pixels of a rectangular area of the map. The size object has two parameters, width and height. Width is a difference in the x-coordinate; height is a difference in the y-coordinate, of points.
Notice that while the two parameters of a GSize are accessible as properties width and height, it is better to never modify them, but to create a new object with different paramaters instead.
Constructor | Description |
---|---|
GSize(width, height) | Creates a GSize object. |
Properties | Type | Description |
---|---|---|
width | Number | The width parameter. |
height | Number | The height parameter. |
Methods | Return Value | Description |
---|---|---|
equals(other) | Boolean | Returns true iff the other size has exactly equal components. |
toString() | String | Returns a string that contains the wdith and height parameter, in this order, separated by a comma. |
GSize represents a 2-dimensional size measurement. If a GSize represents a lat/lng span, width is to the number longitude degrees, and y is the number of latitude degrees.
Constructor | Description |
---|---|
GSize(width, height) | Creates a new size with the given measurement values |
Property | Description |
---|---|
width | The width measurement |
height | The height measurement |