Angular directive

streetview-panorama source

Requires: map directive Restrict To: Element

Dependencies:
NameTypeDescription
Attr2MapOptions service

convert html attribute to Gogole map api options

Attributes:
NameTypeDescription
container

Optional, id or css selector, if given, streetview will be in the given html element

<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>