Interactive interface for browsing global, full-resolution satellite imagery
disable worldfile when kmz is selected #1854
Benjamin Kinga5eb2e17c76a
diff --git a/web/js/components/image-download/panel.js b/web/js/components/image-download/panel.jsindex 72507e907..cdeb2b8f4 100644--- a/web/js/components/image-download/panel.js+++ b/web/js/components/image-download/panel.js@@ -57,7 +57,7 @@ export default class ImageResSelection extends React.Component {{ width, height },time,fileType,- isWorldfile+ fileType === 'application/vnd.google-earth.kmz' ? false : isWorldfile);if (url) {@@ -119,10 +119,9 @@ export default class ImageResSelection extends React.Component {_renderWorldfileSelect() {if (this.props.worldFileOptions) {const value = this.state.isWorldfile ? 1 : 0;-return (<div className="wv-image-header">- {this.state.fileType === 'image/kmz' ? (+ {this.state.fileType === 'application/vnd.google-earth.kmz' ? (<select disabled><option value={0}>No</option></select>