OptionsFactory.Create(String, String, String, String, String, String, String, IAddressSettings, IDomElement, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>) Method
Create the options object which used for initializing the API
Namespace: StreetSmart.Common.FactoriesAssembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
public static IOptions Create(
string userName,
string password,
string clientId,
string apiKey,
string srs,
string locale,
string configurationURL,
IAddressSettings addressSettings,
IDomElement element,
bool? loginOauth = null,
bool? loginOauthSilentOnly = null,
bool? doOAuthLogoutOnDestroy = null
)
- userName String
- Username of the user.
- password String
- Password of the user.
- clientId String
- The clientId of the OAuth user.
- apiKey String
- ApiKey given to the user.
- srs String
- Coordinate system used in the API. E.g. "EPSG:29882".
- locale String
- Language used as default in the API.
- configurationURL String
- Alternate configuration url to use for all configuration services.
- addressSettings IAddressSettings
- The address settings to use for address searches.
- element IDomElement
- The Domelement where in the panoramic image is rendered.
- loginOauth Nullable<Boolean> (Optional)
- Indicates whether to log in via oauth
- loginOauthSilentOnly Nullable<Boolean> (Optional)
- Indicates to login with OAuth with silent authentication only. true means using silent authentication only. false means use silent authentication together with login popup authentication if silent authentication fails (for example when user session expired). This parameter is optional and false is default.
- doOAuthLogoutOnDestroy Nullable<Boolean> (Optional)
- Indicates whether to log out via oauth on destroy
IOptionsObject containing the options used for initializing the API
Supported in: 18.7