Angular directive

streetview-panorama source

Description

Requires: map directive Restrict To: Element

Parameters

NameTypeDescription
Attr2MapOptions service

convert html attribute to Google map api options

Attributes

NameTypeDescription
<StreetViewPanoramaOption> String

Any Google StreetViewPanorama options

<StreetViewPanoramaEvent> String

Any Google StreetViewPanorama events

Example

<map zoom="11" center="[40.688738,-74.043871]" >
    <street-view-panorama
      click-to-go="true"
      disable-default-ui="true"
      disable-double-click-zoom="true"
      enable-close-button="true"
      pano="my-pano"
      position="40.688738,-74.043871"
      pov="{heading:0, pitch: 90}"
      scrollwheel="false"
      visible="true">
    </street-view-panorama>
  </map>