Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsPanoConnector Class Reference

Plugin for displaying Google Street View panoramas using uPano. More...

Inherits MonoBehaviour.

Public Attributes

string googleApiKey = ""
 Google API key.
 
int minZoom = 10
 The minimum map zoom for which overlay will be displayed.
 
int panoramaMaxZoom = 3
 Maximum panorama zoom level (0 - 4)
 
bool usePreview = true
 Use progressive loading panoramas (zoom - 0, 1, 2, 3, 4)
 
bool checkOverlayColor = true
 Check the color of the overlay texture before opening the panorama.
 
int colorPresenceRadius = 2
 The radius for checking the presence of a color.
 
bool useRotation = true
 Use rotation from Online Maps Camera Orbit.
 
OverlayLayer overlayLayer = OverlayLayer.front
 Overlay layer will be drawn.
 
GameObject nextDirectionPrefab
 Prefab of the arrow to go to the next panorama.
 
GameObject closeButtonPrefab
 Prefab of UI button to close the panorama.
 
KeyCode closeByKeyCode = KeyCode.Escape
 Hot key to close the panorama.
 
int radius = 10
 Radius of the panorama sphere.
 
int segments = 32
 Number of segments of the panorama sphere.
 
Shader shader
 The shader that will be used to display the panorama.
 
GameObject beforeTransitionPrefab
 Prefab which contains the transition that is played before the panorama is closed.
 
GameObject afterTransitionPrefab
 Prefab which contains the transition that is played after the panorama is closed.
 
bool useGlobalTransitions = true
 Use global transitions if they are not in this component.
 
bool useOpenTransition = true
 Use transitions when a panorama is shown.
 
bool useCloseTransition = true
 Use transitions when a panorama is closing.
 

Detailed Description

Plugin for displaying Google Street View panoramas using uPano.