Options
All
  • Public
  • Public/Protected
  • All
Menu

Service for streetview functionality with Google Street View

Hierarchy

  • StreetviewService
    • default

Index

Constructors

  • new default($scope: IScope, map: Map, handlePanoramaPositionChange: ((newCoordinates: Coordinate) => void), radius: number, $element: JQuery<HTMLElement>): default
  • nginject

    Parameters

    • $scope: IScope

      Scope.

    • map: Map

      The map

    • handlePanoramaPositionChange: ((newCoordinates: Coordinate) => void)

      Position change handler

        • (newCoordinates: Coordinate): void
        • Parameters

          • newCoordinates: Coordinate

          Returns void

    • radius: number

      The radius

    • $element: JQuery<HTMLElement>

      Element

    Returns default

Properties

handlePanoramaPositionChange_: ((newCoordinates: Coordinate) => void)

Type declaration

    • (newCoordinates: Coordinate): void
    • Parameters

      • newCoordinates: Coordinate

      Returns void

map_: Map
noDataAtLocation: boolean
scope_: IScope

Methods

  • extentToLonLat_(extent: Extent): Extent
  • Parameters

    • extent: Extent

      Extent in EPSG:2056 to reproject.

    Returns Extent

    LonLat extent.

  • fromLonLat_(lonLat: Coordinate): Coordinate
  • Parameters

    • lonLat: Coordinate

      LonLat coordinate.

    Returns Coordinate

    Map view projection coordinate.

  • getPanorama(coordinates: Coordinate): void
  • panoramaPositionChange(newCoordinates: Coordinate): void
  • Set new position on the map.

    Parameters

    • newCoordinates: Coordinate

      array of longitude and latitude.

    Returns void

  • toLonLat_(coordinate: Coordinate): Coordinate
  • Parameters

    • coordinate: Coordinate

      Map view projection coordinate.

    Returns Coordinate

    LonLat coordinate.

  • toggleShow(show: boolean): void

Generated using TypeDoc