Creates a JavaScript command as a String that, when executed on the client, zooms to the given integer zoom level, ignoring the request if the given zoom level is outside the bounds of the current map type

Namespace: Reimers.Google.Map
Assembly: Reimers.Google.Map (in Reimers.Google.Map.dll) Version: 5.3.95.699 (5.3.95.699)

Syntax

C#
public string SetZoom(
	int zoomLevel
)

Parameters

zoomLevel
Type: System..::..Int32
The required zoom level as an Int32.

Return Value

A JavaScript command as a String.

Remarks

This method creates a JavaScript command that must be sent to a method that executes it. Merely executing the method does not produce any results.

See Also