diff --git a/doc/url-config-parameters.md b/doc/url-config-parameters.md index 1cc0765..cd30253 100644 --- a/doc/url-config-parameters.md +++ b/doc/url-config-parameters.md @@ -14,6 +14,7 @@ Specifies the URL of a JSON configuration file. ## Other parameters A subset of the JSON configuration file options can be used as URL parameters. -These include `panorama`, `config`, `author`, `title`, `hfov`, `pitch`, `yaw`, +These include `panorama`, `config`, `author`, `title`, `hfov`, `minHfov`, `maxHfov`, +`pitch`, `minPitch`, `maxPitch`, `yaw`, `minYaw`, `maxYaw`, `haov`, `vaov`, `vOffset`, `autoLoad`, `autoRotate`, `firstScene`, `ignoreGPanoXMP`, `preview`, and `fallback`. diff --git a/src/standalone/standalone.js b/src/standalone/standalone.js index fdcf10f..a04b66b 100644 --- a/src/standalone/standalone.js +++ b/src/standalone/standalone.js @@ -21,6 +21,7 @@ function parseURLParameters() { json += '"' + option + '":'; switch(option) { case 'hfov': case 'pitch': case 'yaw': case 'haov': case 'vaov': + case 'minHfov': case 'maxHfov': case 'minPitch': case 'maxPitch': case 'minYaw': case 'maxYaw': case 'vOffset': case 'autoRotate': json += value; break;