Widget:Google Street View

Aus Hist. Verein Herne / Wanne-Eickel

This widget allows you to add Google Street View widget to your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

{{#widget:Google Street View
|lat=40.758153
|lng=-73.985355
|yaw=370.64659986187695
|pitch=-20
|zoom=0
}}

Parameters

  • lat - lattitude of street view location
  • lng - longitude of street view location
  • height and width define view dimensions. Defaults: width=420; height=350
  • heading - defines the horizontal angle between the camera's line of sight and the North direction, with 0 degrees pointing North.
  • pitch - defines the angle variance "up" or "down" from the camera's initial default pitch, which is often (but not always) flat horizontal. (For example, an image taken on a hill will likely exhibit a default pitch that is not horizontal.) Pitch angles are measured with negative values looking up (to -90 degrees straight up and orthogonal to the default pitch) and positive values looking down (to +90 degrees straight down and orthogonal to the default pitch). And for some reason, for static maps, this value must be negated, e.g. negative values look down and positive look up (don't ask me why the discrepancy).
  • fov - field of view, similar to zoom, but expressed in degrees for a field of view, default is 90 and maximum is 120. Works only for static street views - for interactive use zoom parameter instead.