This component is used to integrate a streetview tool (googlestreetview or mapillary) The tool has to be declared in the constant 'ngeoStreetviewOptions'. For mapillary the key (accessToken) is needed as well.

module.constant('ngeoStreetviewOptions', { 'viewer': 'google', });

module.constant('ngeoStreetviewOptions', { 'viewer': 'mapillary', 'key': '<your_key>', });

Example:

            <ngeo-streetview
                active="mainCtrl.streetViewActive"
                feature-style="mainCtrl.streetViewStyle"
                map="mainCtrl.map"
                panel-width="mainCtrl.toolsPanelWidth"
                options-name="ngeoSreetviewOptions">
            </ngeo-streetview>

### Hierarchy

- StreetviewController

## Index

### Constructors

- constructor

### Methods

- $onInit
- addWatchers_

## Constructors

### constructor

- new StreetviewController($element: JQuery<HTMLElement>, $scope: IScope, $http: IHttpService, ngeoFeatureOverlayMgr: FeatureOverlayMgr, $injector: IInjectorService, $timeout: ITimeoutService): StreetviewController

- - Defined in src/streetview/component.js:97
  nginject
  ngdoc

    controller

  ngname

    NgeoStreetviewController

  #### Parameters

  - ##### $element: JQuery<HTMLElement>

    Element.

  - ##### $scope: IScope

    Scope.

  - ##### $http: IHttpService

    Angular $http service.

  - ##### ngeoFeatureOverlayMgr: FeatureOverlayMgr

    Ngeo

  - ##### $injector: IInjectorService

    Main injector.

  - ##### $timeout: ITimeoutService

    FeatureOverlay manager.

  #### Returns StreetviewController

## Methods

### $onInit

- $onInit(): void

- - Defined in src/streetview/component.js:248

  Called on initialization of the controller.

  #### Returns void

### addWatchers_

- addWatchers_(): void

- - Defined in src/streetview/component.js:280

  #### Returns void

Generated using TypeDoc