Moves the camera forward, closer to the point of interest.
zoomIn([delta]);
Parameter |
Description |
delta |
Optional Distance to move forward |
Remarks
If the delta parameter is not specified, the zoomIn method shortens the distance between the camera and the point of interest by a third.
If the delta parameter is negative, the method zooms out.
Example
The following example illustrates the use of the zoomIn method.
function zoomIn500m()
{
globe.navigate.zoomIn(500);
}