IStreetSmartAPI Interface
API used to use and modify various StreetSmart components.
Namespace: StreetSmart.Common.Interfaces.APIAssembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
public interface IStreetSmartAPI
GUI |
The GUI of StreetSmart
|
Settings |
Object which is an Interface for changing certain settings withing the api
|
Shortcuts |
Object which is an Interface for enabling/disabling shortcuts
|
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.
|
AddWFSLayer |
Add a WFS Layer as overlay to the panorama viewer. Can be removed with removeOverlay
|
CloseDevTools |
Close the developer tools
|
CloseViewer |
Close a panorama or oblique viewer.
|
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.
|
GetBearerToken |
Returns the Bearer token from 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.
|
GetViewers |
Return an array with references to all viewers.
|
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.
|
SetActiveMeasurement |
Set the active measurement in GeoJSON format
|
SetOverlayDrawDistance |
Set overlay draw distance
|
SetSnapping |
Sets whether or not cursor movements will snap to nearby features while in measurement mode
|
ShowDevTools |
Show the developer tools
|
StartMeasurementMode |
Starts the measurement
|
StopMeasurementMode |
Stops the measurement
|
Supported in: 18.7