title (string): A title for the sphere
sphereLat (number): The latitude of the sphere to display
sphereLng (number): The longitude of the sphere to display
lookatLat (number): The latitude the camera should look at
lookatLng (number): The longitude the camera should look at
cameraFov (number): Camera field of view angle
cameraFovMin (number): Minimum field of view angle. Note: Cannot be less than 5.
cameraFovMax (number): Maximum field of view angle. Note: Cannot be greater than 120.
sphereMarkerDistance (number): The distance, in meters, for which sphere markers are displayed
sphereMarkerList (Array<number>): The list of specific sphere markers to display, by sphere id
customMarkerDistance(number): The distance, in meters, for which custom markers are displayed
customMarkerList(Array<number>): The list of specific custom markers to display, by custom marker id
layers (array): An array of layer objects, one for each layer you want to display. Each layer object can have these properties:
name (string): A name for the layer. Each layer name should be unique.
visible (bool): Set this to
true for the layer to show (defaults false).
markers (array): An array of marker objects to display on the layer. Each marker object can have these properties:
name (string): A name for the marker which will be displayed on the sphere. This can contain HTML. Any HTML will be sanitized.
id (number | string): An id for the marker. Each marker id must be unique. If this value is falsy, a uuid will be assigned as the id for this marker.
lat (number): The latitude at which to display the marker. Note: Cannot be a string.
lng (number): The longitude at which to display the marker. Note: Cannot be a string.
icon (string): The name of the icon to display for the marker. If the name is one of the default icon names, the marker icon will change as indicated. See list of all available icons here.
If more than one marker exists, the sphere will automatically rotate its point of view to accommodate.
Marker pop-ups can also be customized, for more information visit here.
fontFamilies (string): The string pulled from google fonts in order to allow custom fonts. Note: Only works when done during API initialization.
apiUIOptions (string): The UI widgets that are displayed in the viewer.
showFlyHere (boolean): Toggle if the Fly Here portion of marker Pop-ups is shown.