IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 77555244 authored by jedjas12's avatar jedjas12
Browse files

Changing var names

parent cc63190a
...@@ -20,8 +20,7 @@ export default class GeoQuery extends LightningElement { ...@@ -20,8 +20,7 @@ export default class GeoQuery extends LightningElement {
* Starts the download for asset details and bounding box early. * Starts the download for asset details and bounding box early.
*/ */
connectedCallback() { connectedCallback() {
this.assetsPromise = assets.find({ projectId: parseInt(this.projectId, 10) }); //Handled elsewhere
this.assetsBboxPromise = bboxAssets.get(parseInt(this.projectId, 10));
} }
/** /**
...@@ -109,9 +108,9 @@ export default class GeoQuery extends LightningElement { ...@@ -109,9 +108,9 @@ export default class GeoQuery extends LightningElement {
} }
// Iterate over the assets and add them to the map // Iterate over the assets and add them to the map
let i; let assetIndex;
for (i = 0; i < response.length; i++) { for (assetIndex = 0; assetIndex < response.length; assetIndex++) {
const a = response[i]; const a = response[assetIndex];
// Create the map marker, asset type determine the icon // Create the map marker, asset type determine the icon
let m; let m;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment