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': '', });
Example:
<ngeo-streetview active="mainCtrl.streetViewActive" feature-style="mainCtrl.streetViewStyle" map="mainCtrl.map" panel-width="mainCtrl.toolsPanelWidth" options-name="ngeoSreetviewOptions"> </ngeo-streetview>
controller
NgeoStreetviewController
Element.
Scope.
Angular $http service.
Ngeo
Main injector.
FeatureOverlay manager.
Called on initialization of the controller.
Generated using TypeDoc
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': '',
});
Example:
<ngeo-streetview active="mainCtrl.streetViewActive" feature-style="mainCtrl.streetViewStyle" map="mainCtrl.map" panel-width="mainCtrl.toolsPanelWidth" options-name="ngeoSreetviewOptions"> </ngeo-streetview>