GoogleMapValidators¶
Namespace: ThinkGeo.Core
Provides helper validation routines for Google Maps configuration.
public static class GoogleMapValidators
Inheritance object → GoogleMapValidators
Methods¶
CheckGoogleMapsTypeIsValid(GoogleMapsMapType, string)¶
Ensures the supplied Google Maps map type is supported; otherwise throws ArgumentOutOfRangeException.
public static void CheckGoogleMapsTypeIsValid(GoogleMapsMapType mapType, string parameterName)
Parameters¶
mapType GoogleMapsMapType
The map type to validate.
parameterName string
Name of the parameter being checked.