directive: streetview-panorama

streetview-panorama

Requires: map directive Restrict To: Element

Attributes:
Name Type Description
container

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

<StreetViewPanoramaOption> String

Any Google StreetViewPanorama options, https://developers.google.com/maps/documentation/javascript/reference?csw=1#StreetViewPanoramaOptions

<StreetViewPanoramaEvent> String

Any Google StreetViewPanorama events, https://developers.google.com/maps/documentation/javascript/reference#StreetViewPanorama

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