shuishen
2021-06-15 4d8ef5d02421b1bb60f575e56b75d43a1ea4c2bb
widgets/HomeButton/Widget.js
@@ -33,7 +33,7 @@
        var homeButton = new Cesium.HomeButton(this.domNode, this.map.scene);
        $(".jimu-widget-homebutton button.cesium-button").html("<img src='../../../images/回到原来的视角.png' alt=''>");
        $(".jimu-widget-homebutton button.cesium-button").html("<img src='./images/回到原来的视角.png' alt=''>");
        // Subscribe to the home button beforeExecute event so that we can clear the trackedEntity.
        this.map._eventHelper.add(homeButton.viewModel.command.beforeExecute, Cesium.Viewer.prototype._clearTrackedObject, this.map);