|
|
@ -2168,6 +2168,7 @@ MainMap_QM.prototype = { |
|
|
* |
|
|
* |
|
|
*/ |
|
|
*/ |
|
|
changeMapState: function (state) { |
|
|
changeMapState: function (state) { |
|
|
|
|
|
Map_QM.controls.reset(); |
|
|
if (state === '3d') { |
|
|
if (state === '3d') { |
|
|
Map_QM.camera = Map_QM.cameraPerspective |
|
|
Map_QM.camera = Map_QM.cameraPerspective |
|
|
Map_QM.controls.object = Map_QM.camera |
|
|
Map_QM.controls.object = Map_QM.camera |
|
|
|