Angular directive
streetview-panorama source
Description
Requires: map directive Restrict To: Element
Parameters
Name | Type | Description |
---|---|---|
Attr2MapOptions | service |
convert html attribute to Google map api options |
Attributes
Name | Type | Description |
---|---|---|
<StreetViewPanoramaOption> | String | |
<StreetViewPanoramaEvent> | String |
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>