You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pid="shortdesc">Example of using the drag-and-drop interaction with a custom format to handle KMZ files.</p>
146
-
<divid="docs"><p>Example of using the drag-and-drop interaction with a custom format to handle KMZ files. In addition to the formats used in the <ahref="drag-and-drop.html">Drag-and-Drop</a> example a custom format (subclassing KML) is used to handle KMZ files. KML and icons must be extracted from the KMZ array buffer synchronously. <ahref="https://stuk.github.io/jszip/documentation/upgrade_guide.html" target="_blank">JSZip 2.x</a> is used as it has better browser compatibility and is simpler to code than the more recent <ahref="https://github.com/ericvergnaud/jszip#readme" target="_blank">JSZip-sync</a>. There is no projection transform support, so this will only work with data in EPSG:4326 and EPSG:3857.</p>
146
+
<divid="docs"><p>Example of using the drag-and-drop interaction with a custom format to handle KMZ files. In addition to the formats used in the <ahref="drag-and-drop.html">Drag-and-Drop</a> example a custom format (subclassing KML) is used to handle KMZ files. KML and icons must be extracted from the KMZ array buffer synchronously. There is no projection transform support, so this will only work with data in EPSG:4326 and EPSG:3857.</p>
147
147
</div>
148
148
</div>
149
149
150
150
<divclass="row-fluid">
151
151
<h5class="source-heading">main.js</h5>
152
-
<pre><codeid="example-js-source" class="language-js">import JSZip from 'jszip';
153
-
import Map from 'ol/Map.js';
152
+
<pre><codeid="example-js-source" class="language-js">import Map from 'ol/Map.js';
0 commit comments