We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cba3263 + d8afff0 commit baadfbdCopy full SHA for baadfbd
1 file changed
src/service/3DPlot/PlotLayer3D.js
@@ -236,6 +236,7 @@ class PlotLayer3D extends Observable {
236
*/
237
fromJSON(geoJson) {
238
if (geoJson.type === "FeatureCollection") {
239
+ this.removeAll();
240
const {features} = geoJson;
241
features.forEach((s) => {
242
this._addGeoJSONObject(s);
0 commit comments