IStreetSmartAPI Methods |
The IStreetSmartAPI type exposes the following members.
| Name | Description | |
|---|---|---|
| AddOverlay |
Add a GeoJSON overlay to the panorama viewer. SRS of API initialisation is used.
Use overload with sourceSrs parameter if provided GeoJSON is in a different coordinate system.
| |
| CloseDevTools |
Close the developer tools
| |
| Destroy |
Destroys the API. Cleans up its event handlers and makes used memory available for garbage collection.
| |
| GetActiveMeasurement |
Returns the active measurement in GeoJSON format
| |
| GetAddressSettings |
Returns the object containing the address search settings
| |
| GetApiReadyState |
Returns the current 'ready'-state of the API.
This is an asynchronous function.
| |
| GetApplicationName |
Returns the application name of the API.
This is an asynchronous function.
| |
| GetApplicationVersion |
Returns the used version of the API.
This is an asynchronous function.
| |
| GetDebugLogs |
Returns all logs, including ones invisible to integrators.
| |
| GetPermissions |
Returns the object containing functionalities that are currently permitted to use by the user.
This is an asynchronous function.
| |
| Init |
Initializes the API using the inserted values. Required to use functional PanoramaViewers.
| |
| Open |
Open a panorama and/or oblique viewer using a query. The query can be a coordinate,
an extent, an address or a panorama/oblique ID.
| |
| RemoveOverlay |
Removes a GeoJSON overlay from the panorama viewer.
| |
| ShowDevTools |
Show the developer tools
| |
| StartMeasurementMode |
Starts the measurement
| |
| StopMeasurementMode |
Stops the measurement
|