A Leaflet plugin that allows easy integration with the Google StreetView Service API
npm install leaflet-pegman

A Leaflet plugin that allows easy integration with the Google StreetView Service API
---
_For a working example see one of the following demos:_
- traditional loading
- lazy loading
- detached panorama
---
Initially based on the work of Daniel Pegues
---
1. include CSS & JavaScript
``html`
...
...
`
2. choose a div container used for the slippy map
html`
...
...
`
3. create your first simple “leaflet-pegman slippy map
html``
_NB to be able to use the “pegman” (a.k.a. “Street View Control”) you MUST use a valid Google Maps API Key._
---
Compatibile with: leaflet@1.6.0, gmaps@3.34, leaflet-googlemutant@0.10.0, interactJS@1.2.9
---