Class Maps
- Namespace
- Dynamicweb.Security.System
Tools
- Assembly
- Dynamicweb.Core.dll
Provides methods for working with google maps data
- Inheritance
-
Maps
- Inherited Members
Properties
GoogleMapsApiKeyValue
Gets google map api key
Property Value
- string
String value
GoogleMapsClientID
Gets google map client identifier
Property Value
- string
String value
Methods
Clamp(double, double, double)
Clamp a number to be inside a specified range
Parameters
value
doublethe value
min
doubleminimum allowed value (inclusive)
max
doublemaximum allowed value (inclusive)
Returns
- double
the clamped value
GeocodingResponse(string)
Gets geo coding response
Parameters
address
stringString value with address
Returns
- string
String value
GetGetLocationAddress(User, string)
Gets geo location address
Parameters
Returns
- string
String value
GetGetLocationAddress(UserGroup, string)
Gets geo location address
Parameters
Returns
- string
String value
GetLocation(string)
Gets location coordinates using address
Parameters
address
stringAddress
Returns
- Geo
Location Latitude and longitude values
SetGeolocationFromGoogleMaps(User, bool)
Sets geo location using google maps api data
Parameters
Returns
SetGeolocationFromGoogleMaps(UserGroup, bool)
Sets geo location using google maps api data
Parameters
Returns
Wrap(double, double, double)
Wrap a number to fit inside a specified range
Parameters
value
doublethe value
min
doubleminimum allowed value (inclusive)
max
doublemaximum allowed value (inclusive)
Returns
- double
the wrapped value