OptionsFactoryCreateOauth(String, String, String, IAddressSettings, IDomElement) Method

Create the options object which used for initializing the API for use oAuth authorization

Definition

Namespace: StreetSmart.Common.Factories
Assembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
C#
public static IOptions CreateOauth(
	string clientId,
	string apiKey,
	string srs,
	IAddressSettings addressSettings,
	IDomElement element
)

Parameters

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".
addressSettings  IAddressSettings
The address settings to use for address searches.
element  IDomElement
The Domelement where in the panoramic image is rendered.

Return Value

IOptions
Object containing the options used for initializing the API

Version Information

Supported in: 18.7

See Also