@corpsmap/corpsmap 4.1.21 → 4.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12841,7 +12841,7 @@ const config$1 = {
12841
12841
  path: "depricated"
12842
12842
  }
12843
12843
  ]
12844
- }, version = "4.1.21", pkg = {
12844
+ }, version = "4.1.23", pkg = {
12845
12845
  version
12846
12846
  };
12847
12847
  console.log("------ RUNNING CORPSMAP V." + pkg.version + " ------");
@@ -18292,13 +18292,12 @@ const KMLConvert = /* @__PURE__ */ getDefaultExportFromCjs$1(togeojsonExports),
18292
18292
  }), r.properties)), e;
18293
18293
  }, identifyIncludeColumnsArcgisvector = function(e, t) {
18294
18294
  return e.forEach((r) => {
18295
- if (console.log(r, r.properties), r.properties)
18296
- for (const [a, s] of Object.entries(r.properties)) {
18297
- let d = {};
18298
- t.forEach((g) => {
18299
- r.properties[g] && (d[g] = r.properties[g]);
18300
- }), r.properties = d;
18301
- }
18295
+ if (r.properties) {
18296
+ const a = {};
18297
+ t.forEach((s) => {
18298
+ Object.prototype.hasOwnProperty.call(r.properties, s) && (a[s] = r.properties[s]);
18299
+ }), r.properties = a;
18300
+ }
18302
18301
  }), e;
18303
18302
  }, identifyRenameColumnsArcgisvector = function(e, t) {
18304
18303
  return e.forEach((r) => {
@@ -18316,7 +18315,7 @@ const KMLConvert = /* @__PURE__ */ getDefaultExportFromCjs$1(togeojsonExports),
18316
18315
  return e.forEach((r) => {
18317
18316
  if (r.properties)
18318
18317
  for (const [a, s] of Object.entries(t))
18319
- console.log(a, s), r.properties.hasOwnProperty(a) && (r.properties[a] = formatColumns(
18318
+ console.log(a, s), Object.prototype.hasOwnProperty.call(r.properties, a) && (r.properties[a] = formatColumns(
18320
18319
  r.properties[a],
18321
18320
  s
18322
18321
  ));
@@ -28849,7 +28848,7 @@ const ArcGisListener = {
28849
28848
  let y = [];
28850
28849
  const b = m.getSource();
28851
28850
  let E = t.selectIdentifyColumnsExclude();
28852
- const I = g.identifyFields, x = g.identifyRenameColums, S = g.identifyFormatColumns;
28851
+ const I = g.identifyFields, x = g.identifyRenameColumns ?? g.identifyRenameColums, S = g.identifyFormatColumns;
28853
28852
  b.forEachFeatureIntersectingExtent(d, (T) => {
28854
28853
  const N = geoJSON$1.writeFeatureObject(T, {
28855
28854
  featureProjection: "EPSG:3857",