prevent double map init
@@ -142,6 +142,8 @@ function drawPickerRectangle(bounds) {
}
function initMapFileType() {
+ if (coordinatesPicker) return; // already initialized
+
// Initialize Map
leafletFeatureGroup = L.featureGroup();
