ngeo
    Preparing search index...

    Service for streetview functionality with Google Street View

    Index

    Constructors

    • Parameters

      • $scope: IScope

        Scope.

      • map: Map

        The map

      • handlePanoramaPositionChange: (newCoordinates: Coordinate) => void

        Position change handler

      • radius: number

        The radius

      • $element: JQuery<HTMLElement>

        Element

      Returns default

    Properties

    handlePanoramaPositionChange_: (newCoordinates: Coordinate) => void
    map_: Map
    noDataAtLocation: boolean
    scope_: IScope
    $inject: string[]

    Methods

    • Parameters

      • extent: Extent

        Extent in EPSG:2056 to reproject.

      Returns Extent

      LonLat extent.

    • Parameters

      • lonLat: Coordinate

        LonLat coordinate.

      Returns Coordinate

      Map view projection coordinate.

    • Get image for the given location.

      Parameters

      • coordinates: Coordinate

        Map view projection coordinates.

      Returns void

    • Set new position on the map.

      Parameters

      • newCoordinates: Coordinate

        array of longitude and latitude.

      Returns void

    • Toggle visibility of streetview / add or remove its listener

      Parameters

      • show: boolean

        If the streetview is to show

      Returns void

    • Parameters

      • coordinate: Coordinate

        Map view projection coordinate.

      Returns Coordinate

      LonLat coordinate.