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.